Skip to content

Commit 2182524

Browse files
committed
nicer casting
1 parent 2231a77 commit 2182524

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/utils/nfcScanner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ interface Inputs {
2222
export const scan = async (inputs: Inputs) => {
2323
if (MIXPANEL_NFC_PROJECT_TOKEN) {
2424
if (Platform.OS === 'ios') {
25-
const enableDebugLogs = ENABLE_DEBUG_LOGS;
25+
const enableDebugLogs = JSON.parse(String(ENABLE_DEBUG_LOGS));
2626
NativeModules.PassportReader.configure(
2727
MIXPANEL_NFC_PROJECT_TOKEN,
2828
enableDebugLogs,

0 commit comments

Comments
 (0)