Skip to content

Commit 45306bb

Browse files
committed
fix: ts error
1 parent 18e2403 commit 45306bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/chat.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ export function ChatActions(props: {
438438
showPromptHints: () => void;
439439
hitBottom: boolean;
440440
uploading: boolean;
441-
setShowShortcutKeyModal: () => void;
441+
setShowShortcutKeyModal: React.Dispatch<React.SetStateAction<boolean>>;
442442
}) {
443443
const config = useAppConfig();
444444
const navigate = useNavigate();

0 commit comments

Comments
 (0)