mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
redirect to scan flow if mock user or dg2hash is null
This commit is contained in:
@@ -9,7 +9,7 @@ const SplashScreen = () => {
|
||||
const { setSelectedTab } = useNavigationStore();
|
||||
useEffect(() => {
|
||||
if (userLoaded) {
|
||||
if (passportData) {
|
||||
if (passportData && passportData.dg2Hash && !passportData.mockUser) {
|
||||
setSelectedTab('app');
|
||||
} else {
|
||||
setSelectedTab('start');
|
||||
|
||||
Reference in New Issue
Block a user