Skip to content

Commit

Permalink
chore: add nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
sudjoao committed Oct 3, 2023
1 parent 528d51f commit 1b0273f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions app/.expo-shared/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
> Why do I have a folder named ".expo-shared" in my project?
The ".expo-shared" folder is created when running commands that produce state that is intended to be shared with all developers on the project. For example, "npx expo-optimize".

> What does the "assets.json" file contain?
The "assets.json" file describes the assets that have been optimized through "expo-optimize" and do not need to be processed again.

> Should I commit the ".expo-shared" folder?
Yes, you should share the ".expo-shared" folder with your collaborators.
2 changes: 1 addition & 1 deletion app/src/services/Firebase.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class FirebaseService {
}

async getUserId() {
return await this.firebase.auth().currentUser.getIdToken();
return await this.firebase.auth().currentUser?.getIdToken();
}
async getCurrentUser() {
return this.firebase.auth().currentUser;
Expand Down

0 comments on commit 1b0273f

Please sign in to comment.