Fix: Avatar
Deskripsi: - Avatar job - Avatar collaboration - Avatar event ## No Issuue
This commit is contained in:
13
src/app/zz-makuro/page.tsx
Normal file
13
src/app/zz-makuro/page.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
"use client";
|
||||
import { useShallowEffect } from "@mantine/hooks";
|
||||
import { useState } from "react";
|
||||
|
||||
export default function Page() {
|
||||
const [origin, setOrigin] = useState("");
|
||||
useShallowEffect(() => {
|
||||
if (typeof window !== "undefined") {
|
||||
setOrigin(window.location.origin);
|
||||
}
|
||||
}, []);
|
||||
return <div>{origin}</div>;
|
||||
}
|
||||
Reference in New Issue
Block a user