Skip to content

Commit

Permalink
Merge pull request #180 from alandao/main
Browse files Browse the repository at this point in the history
Fix new chat button on top-right corner
  • Loading branch information
wadabee authored Mar 22, 2024
2 parents 1af13fc + 3b71097 commit 424ec57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const App: React.FC = () => {
const { isGeneratedTitle } = useChat();

const onClickNewChat = useCallback(() => {
navigate('');
navigate('/');
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

Expand Down

0 comments on commit 424ec57

Please sign in to comment.