upd: waktu splash

This commit is contained in:
amel
2024-12-10 10:52:54 +08:00
parent 7babc1fc60
commit d166b1b9b6
5 changed files with 5 additions and 5 deletions

View File

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

View File

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

View File

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

View File

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

View File

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