mirror of
https://github.com/selfxyz/self.git
synced 2026-04-27 03:01:15 -04:00
add nice helper
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
"ios": "react-native run-ios",
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint --fix .",
|
||||
"nice": "yarn fmt:fix && yarn lint:fix",
|
||||
"start": "watchman watch-del-all && react-native start",
|
||||
"test": "jest --passWithNoTests"
|
||||
},
|
||||
|
||||
@@ -75,7 +75,7 @@ const MockDataScreen: React.FC<MockDataScreenProps> = ({
|
||||
castDate(-age),
|
||||
castDate(expiryYears),
|
||||
randomPassportNumber,
|
||||
...(isInOfacList ? ['HENAO MONTOYA', 'ARCANGEL DE JESUS'] : [])
|
||||
...(isInOfacList ? ['HENAO MONTOYA', 'ARCANGEL DE JESUS'] : []),
|
||||
);
|
||||
useUserStore.getState().registerPassportData(mockPassportData);
|
||||
useUserStore.getState().setRegistered(true);
|
||||
|
||||
Reference in New Issue
Block a user