# Forum Report

## feat
- Repot posting
- Report komentar
### No issuee
This commit is contained in:
2024-03-18 14:02:01 +08:00
parent a77d728a5f
commit de0790aade
33 changed files with 605 additions and 49 deletions

View File

@@ -37,16 +37,17 @@ export default function ComponentForum_KomentarButtonMore({
komentarId,
setKomentar,
postingId,
userLoginId,
}: {
userId: any;
komentarId: any;
setKomentar?: any;
postingId?: string;
userLoginId: string
}) {
const router = useRouter();
const [opened, { open, close }] = useDisclosure(false);
const [openDel, setOpenDel] = useState(false);
const [userLoginId, setUserLoginId] = useState("");
// loading
const [loadingEdit, setLoadingEdit] = useState(false);
@@ -54,14 +55,7 @@ export default function ComponentForum_KomentarButtonMore({
// if (loadingEdit) return <ComponentGlobal_V2_LoadingPage />;
useShallowEffect(() => {
getUserLoginId();
}, []);
async function getUserLoginId() {
const getUserLoginId = await User_getUserId();
setUserLoginId(getUserLoginId);
}
return (
<>