ci: test project on pull requests (#338)

This commit is contained in:
Daniel Roe 2022-12-04 23:28:04 +00:00 committed by GitHub
parent 1c0f8b0147
commit 408aff20ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 2 deletions

View file

@ -44,6 +44,8 @@ onBeforeUnmount(() => {
if (!import.meta.env.SSR)
document.removeEventListener('click', clickEvent)
})
// work around a type error when persisted is passed directly: An object literal cannot have multiple properties with the same name.
const persisted = 'persisted' as string
</script>
<template>
@ -58,7 +60,7 @@ onBeforeUnmount(() => {
leave-active-class="transition duration-250 ease-in children:(transition duration-250 ease-in)"
leave-from-class="opacity-100 children:(transform translate-y-0)"
leave-to-class="opacity-0 children:(transform translate-y-full)"
persisted
:[persisted]="true"
>
<div
v-show="visible"