Skip to content

Commit 1bed22e

Browse files
committed
fix(web): describe compact chip in resting composer comment
1 parent fa48719 commit 1bed22e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/components/chat/ChatComposer.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5221,7 +5221,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
52215221
onRestingChange(isComposerResting);
52225222
}, [isComposerResting, onRestingChange]);
52235223
// The resting footer floats over the prompt row, so the row reserves its
5224-
// measured width. Wide actions like "Compact and send" vary too much for a fixed inset.
5224+
// measured width. Wide actions like the compact-before-send chip vary too much for a fixed inset.
52255225
const [restingActionsElement, setRestingActionsElement] = useState<HTMLDivElement | null>(null);
52265226
const [restingActionsWidth, setRestingActionsWidth] = useState<number | null>(null);
52275227
useLayoutEffect(() => {

0 commit comments

Comments
 (0)