Skip to content

Commit

Permalink
fix(editor): move to inline <ClientOnly> (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
catouberos authored Dec 11, 2023
1 parent 5a313a0 commit 1dc241c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
File renamed without changes.
4 changes: 3 additions & 1 deletion pages/review/create.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ definePageMeta({
:placeholder="$t('review.header')"
/>
</UFormGroup>
<AppEditor v-model="content" class="mb-6" />
<ClientOnly>
<AppEditor v-model="content" class="mb-6" />
</ClientOnly>
</div>
<div class="w-full flex-shrink-0 sm:w-64">
<div class="space-y-6">
Expand Down
4 changes: 3 additions & 1 deletion pages/review/edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ definePageMeta({
:placeholder="$t('review.header')"
/>
</UFormGroup>
<AppEditor v-model="content" class="mb-6" />
<ClientOnly>
<AppEditor v-model="content" class="mb-6" />
</ClientOnly>
</div>
<div class="w-full flex-shrink-0 sm:w-64">
<div class="space-y-6">
Expand Down

0 comments on commit 1dc241c

Please sign in to comment.