diff --git a/Documentation/src/theme/Root.js b/Documentation/src/theme/Root.js index e529a3d..d96c045 100644 --- a/Documentation/src/theme/Root.js +++ b/Documentation/src/theme/Root.js @@ -1,4 +1,3 @@ -//Root.js import React, { useState } from "react"; import { signIn, auth } from "./pocketbase"; @@ -22,6 +21,79 @@ export default function Root({ children }) { }); return ( - <>{children}> + <> + {userAuth != "" ? ( + <>{children}> + ) : ( +