Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
jahooma committed Jun 20, 2024
1 parent 573eb31 commit b4fa06a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions web/components/chat/public-chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ export const PublicChat = (props: {
</Button>
) : (
<CommentInputTextArea
autoFocus={false}
editor={editor}
user={user}
submit={submitMessage}
Expand Down
1 change: 1 addition & 0 deletions web/components/comments/edit-comment-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export const EditCommentModal = (props: {
<Col className={'bg-canvas-50 rounded-md p-4'}>
<Title>Edit Comment</Title>
<CommentInputTextArea
autoFocus
editor={editor}
user={user}
submit={submitComment}
Expand Down
1 change: 1 addition & 0 deletions web/components/messaging/send-message-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export const SendMessageButton = (props: {
<Title className={'!mb-2'}>Message {toUser.name}</Title>
</Row>
<CommentInputTextArea
autoFocus={true}
editor={editor}
user={currentUser}
submit={sendMessage}
Expand Down
1 change: 1 addition & 0 deletions web/pages/messages/[channelId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ export const PrivateChat = (props: {
</div>
</Col>
<CommentInputTextArea
autoFocus
editor={editor}
user={user}
submit={submitMessage}
Expand Down

0 comments on commit b4fa06a

Please sign in to comment.