Can create a family from the GUI
This commit is contained in:
@ -12,6 +12,7 @@ import { ResetPasswordRoute } from "./routes/auth/ResetPasswordRoute";
|
||||
import { BaseAuthenticatedPage } from "./widgets/BaseAuthenticatedPage";
|
||||
import { BaseLoginPage } from "./widgets/BaseLoginpage";
|
||||
import { DeleteAccountRoute } from "./routes/DeleteAccountRoute";
|
||||
import { FamiliesListRoute } from "./routes/FamiliesListRoute";
|
||||
|
||||
interface AuthContext {
|
||||
signedIn: boolean;
|
||||
@ -38,6 +39,7 @@ export function App(): React.ReactElement {
|
||||
|
||||
{signedIn ? (
|
||||
<Route path="*" element={<BaseAuthenticatedPage />}>
|
||||
<Route path="" element={<FamiliesListRoute />} />
|
||||
<Route path="profile" element={<ProfileRoute />} />
|
||||
<Route path="*" element={<NotFoundRoute />} />
|
||||
</Route>
|
||||
|
Reference in New Issue
Block a user