add render on client

This commit is contained in:
2024-02-25 15:58:26 +01:00
parent 2cf7b07c9c
commit d984963370

View File

@@ -10,6 +10,7 @@ useIntervalFn(() => {
</script> </script>
<template> <template>
<ClientOnly>
<section class="flex flex-col md:flex-row items-center justify-center gap-5 overflow-hidden py-4 sm:gap-8 mb-16"> <section class="flex flex-col md:flex-row items-center justify-center gap-5 overflow-hidden py-4 sm:gap-8 mb-16">
<div> <div>
<Graph :domain-x="[-3, 3]" :domain-y="[-3, 3]"> <Graph :domain-x="[-3, 3]" :domain-y="[-3, 3]">
@@ -90,4 +91,5 @@ useIntervalFn(() => {
</Graph> </Graph>
</div> </div>
</section> </section>
</ClientOnly>
</template> </template>