revert: revert transition due to tests breaking with double element

This commit is contained in:
Julien Huang 2024-12-31 00:37:56 +01:00
parent 29923890f9
commit da28dd62f2
2 changed files with 11 additions and 0 deletions

View File

@ -1,4 +1,10 @@
<script setup lang="ts">
definePageMeta({
// Disable page transition for this page to avoid having multiple time the same page during transition
pageTransition: false,
layoutTransition: false,
})
const state = useState('test', () => {
let hasAccessToWindow = null as null | boolean

View File

@ -1,5 +1,10 @@
<script setup lang="ts">
const renderedOnServer = useState(() => import.meta.server)
definePageMeta({
// Disable page transition for this page to avoid having multiple time the same page during transition
pageTransition: false,
layoutTransition: false,
})
</script>
<template>