Merge pull request #175 from bipproduction/amalia/10-des-24

upd: waktu splash
This commit is contained in:
Amalia
2024-12-10 10:57:26 +08:00
committed by GitHub
5 changed files with 5 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ export default function Colab_Splash() {
setHotMenu(1);
// setStatus("Publish");
router.replace(RouterColab.beranda, {scroll: false});
}, 1000);
}, 500);
}, []);
return (

View File

@@ -10,7 +10,7 @@ export default function SplashCrowd() {
const router = useRouter();
useShallowEffect(() => {
setTimeout(() => router.push(RouterCrowd.main), 1000);
setTimeout(() => router.push(RouterCrowd.main), 500);
}, []);
return (
<>

View File

@@ -11,7 +11,7 @@ export default function Forum_Splash() {
useShallowEffect(() => {
setTimeout(() => {
router.replace(RouterForum.beranda, { scroll: false });
}, 1000);
}, 500);
}, []);
return (

View File

@@ -11,7 +11,7 @@ export function UiMap_SplashView() {
useShallowEffect(() => {
setTimeout(() => {
router.replace(RouterMap.main_view, { scroll: false }), 1000;
router.replace(RouterMap.main_view, { scroll: false }), 500;
});
}, []);
return (

View File

@@ -24,7 +24,7 @@ export default function Vote_Splash() {
setTabsStatus("Publish");
setTabsRiwayat("Semua");
router.replace(RouterVote.beranda);
}, 1000);
}, 500);
}, []);
return (