add nice helper

This commit is contained in:
Justin Hernandez
2025-01-26 19:11:08 -06:00
parent ba32bf9b70
commit 3c9227e7b6
2 changed files with 2 additions and 1 deletions

View File

@@ -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"
},

View File

@@ -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);