fix : logic access user
deskripsi: - fix waiting room loading - fix user access modal - fix middleware No Issue
This commit is contained in:
@@ -98,10 +98,12 @@ export default function WaitingRoom_View({
|
||||
try {
|
||||
setIsLoadingHome(true);
|
||||
router.replace("/", { scroll: false });
|
||||
setTimeout(() => {
|
||||
setIsLoadingHome(false);
|
||||
}, 1000);
|
||||
} catch (error) {
|
||||
clientLogger.error("Error button to home", error);
|
||||
} finally {
|
||||
setIsLoadingHome(false);
|
||||
clientLogger.error("Error button to home", error);
|
||||
}
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user