diff --git a/resources/js/Layouts/Authenticated.jsx b/resources/js/Layouts/Authenticated.jsx index d511886..7377ce8 100644 --- a/resources/js/Layouts/Authenticated.jsx +++ b/resources/js/Layouts/Authenticated.jsx @@ -84,7 +84,7 @@ export default function Authenticated({ auth, children }) {
- {auth.user.is_admin ? ( + {auth.user.is_admin == "true" ? (
Dashboard diff --git a/resources/js/Layouts/Guest.jsx b/resources/js/Layouts/Guest.jsx index a8472f8..6238111 100644 --- a/resources/js/Layouts/Guest.jsx +++ b/resources/js/Layouts/Guest.jsx @@ -4,14 +4,14 @@ import { Link } from '@inertiajs/inertia-react'; export default function Guest({ children }) { return ( -
-
+
+
Koro Koro Family Karaoke
-
+
{children}