Skip to content

Commit

Permalink
resolve lint error - Default the number ID to CONST.DEFAULT_NUMBER_ID
Browse files Browse the repository at this point in the history
  • Loading branch information
ijmalik committed Feb 17, 2025
1 parent 2abe3b4 commit d257527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Expensify.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ function Expensify() {
if (!isAuthenticated) {
return;
}
setCrashlyticsUserId(session?.accountID ?? -1);
setCrashlyticsUserId(session?.accountID ?? CONST.DEFAULT_NUMBER_ID);
}, [isAuthenticated, session?.accountID]);

useEffect(() => {
Expand Down

0 comments on commit d257527

Please sign in to comment.