fix typo in mediaquery
This commit is contained in:
@@ -9,7 +9,7 @@ import { IconHome, IconLogin, IconLogout, IconSettings } from "@tabler/icons-rea
|
|||||||
|
|
||||||
export function Navbar() {
|
export function Navbar() {
|
||||||
const { loggedUser: user, isLoading } = useAuth();
|
const { loggedUser: user, isLoading } = useAuth();
|
||||||
const isPhone = useMediaQuery("(max-width: 760px");
|
const isPhone = useMediaQuery("(max-width: 760px)");
|
||||||
|
|
||||||
if (!user && isLoading) {
|
if (!user && isLoading) {
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user