diff --git a/components/modal/ModalContainer.vue b/components/modal/ModalContainer.vue index 9d55262a..46b3803c 100644 --- a/components/modal/ModalContainer.vue +++ b/components/modal/ModalContainer.vue @@ -13,6 +13,6 @@ import { isPreviewHelpOpen, isPublishDialogOpen, isSigninDialogOpen, isUserSwitc - + diff --git a/components/publish/PublishWidget.vue b/components/publish/PublishWidget.vue index 3b5ff869..f2cee2c4 100644 --- a/components/publish/PublishWidget.vue +++ b/components/publish/PublishWidget.vue @@ -6,12 +6,15 @@ const { draftKey, placeholder = 'What is on your mind?', inReplyToId, + expanded: _expanded = false, } = defineProps<{ draftKey: string placeholder?: string inReplyToId?: string + expanded?: boolean }>() +const expanded = $ref(_expanded) let isSending = $ref(false) let { draft } = $(useDraft(draftKey, inReplyToId)) @@ -123,9 +126,16 @@ onUnmounted(() => {