mirror of
https://github.com/docmost/docmost.git
synced 2025-11-15 10:51:16 +10:00
implement new invitation system
* fix comments on the frontend * move jwt token service to its own module * other fixes and updates
This commit is contained in:
@ -22,6 +22,7 @@ import { io } from "socket.io-client";
|
||||
import { authTokensAtom } from "@/features/auth/atoms/auth-tokens-atom.ts";
|
||||
import { SOCKET_URL } from "@/features/websocket/types";
|
||||
import AccountPreferences from "@/pages/settings/account/account-preferences.tsx";
|
||||
import { InviteSignUpForm } from "@/features/auth/components/invite-sign-up-form.tsx";
|
||||
|
||||
export default function App() {
|
||||
const [, setSocket] = useAtom(socketAtom);
|
||||
@ -60,6 +61,7 @@ export default function App() {
|
||||
<Route index element={<Welcome />} />
|
||||
<Route path={"/login"} element={<LoginPage />} />
|
||||
<Route path={"/signup"} element={<SignUpPage />} />
|
||||
<Route path={"/invites/:invitationId"} element={<InviteSignUpForm />} />
|
||||
|
||||
<Route element={<DashboardLayout />}>
|
||||
<Route path={"/home"} element={<Home />} />
|
||||
|
||||
Reference in New Issue
Block a user