fix(web): address review feedback — drop unknown prop and pin legacy enterToSend in test

This commit is contained in:
nicejames 2026-05-29 21:57:20 +09:00
parent 28b53e191b
commit eddf467df6
2 changed files with 1 additions and 1 deletions

View file

@ -41,7 +41,6 @@ function renderPopover(onSendBatch: () => void) {
onClose={() => {}}
onSaveComment={() => {}}
onSendBatch={onSendBatch}
onRemove={() => {}}
onRemoveMember={() => {}}
sending={false}
t={((key: string) => String(key)) as never}

View file

@ -97,6 +97,7 @@ describe('ChatComposer infinite re-render regression (#2097)', () => {
renderComposer({
draftStorageKey: key,
onSend,
enterToSend: false,
});
const textarea = screen.getByTestId('chat-composer-input') as HTMLTextAreaElement;
fireEvent.change(textarea, {