diff --git a/src/components/header.tsx b/src/components/header.tsx index 86d85b0..8d777d1 100644 --- a/src/components/header.tsx +++ b/src/components/header.tsx @@ -143,7 +143,7 @@ export default function Header(props: HeaderProps) { const openSettings = useCallback(() => { dispatch(setTab(openAIApiKey ? 'options' : 'user')); - }, [openAIApiKey]); + }, [dispatch, openAIApiKey]); const header = useMemo(() => (