diff --git a/app/src/components/header.tsx b/app/src/components/header.tsx index d43a7e5..cacde2e 100644 --- a/app/src/components/header.tsx +++ b/app/src/components/header.tsx @@ -12,7 +12,7 @@ import { useAppDispatch, useAppSelector } from '../store'; import { selectOpenAIApiKey } from '../store/api-keys'; import { setTab } from '../store/settings-ui'; import { selectSidebarOpen, toggleSidebar } from '../store/sidebar'; -import { openLoginModal } from '../store/ui'; +import { openSignupModal } from '../store/ui'; const HeaderContainer = styled.div` display: flex; @@ -176,7 +176,7 @@ export default function Header(props: HeaderProps) { if (process.env.REACT_APP_AUTH_PROVIDER !== 'local') { backend.current?.signIn(); } else { - dispatch(openLoginModal()); + dispatch(openSignupModal()); } }}>