diff --git a/app/(main)/guestbook/GuestbookInput.tsx b/app/(main)/guestbook/GuestbookInput.tsx index ad7701e1..4b8b5b1a 100644 --- a/app/(main)/guestbook/GuestbookInput.tsx +++ b/app/(main)/guestbook/GuestbookInput.tsx @@ -172,37 +172,25 @@ export function GuestbookInput() {
- - {isPreviewing ? ( - - {message} - - ) : ( - - setMessage(event.target.value)} - placeholder="说点什么吧,万一火不了呢..." - onKeyDown={handleKeyDown} - maxRows={8} - autoFocus - /> - - )} - + {isPreviewing ? ( +
+ {message} +
+ ) : ( + setMessage(event.target.value)} + placeholder="说点什么吧,万一火不了呢..." + onKeyDown={handleKeyDown} + maxRows={8} + autoFocus + /> + )}