Skip to content

Commit

Permalink
dependency management
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivaniVora committed Oct 13, 2024
1 parent 3c48611 commit 8463c72
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 10 deletions.
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"dependencies": {
"@babel/preset-env": "^7.22.14",
"@expo/cli": "^0.10.11",
"@fontsource/poppins": "^5.1.0",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-community/datetimepicker": "8.0.1",
"@react-native-community/slider": "4.5.2",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Auth/LogoutButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function LogoutButton() {
const auth = getAuth();
await signOut(auth);
} catch (e) {
console.error(e);
// console.error(e);
}
};

Expand Down
2 changes: 1 addition & 1 deletion src/firebase/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ export default function firebaseInit() {
});
isFirebaseInitialized = true;
} catch (err) {
console.log(err);
// console.log(err);
}
}
4 changes: 2 additions & 2 deletions src/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ export async function internalRequest<T>({
});

if (response.data.success === false) {
console.log("Error1:", response.data.message);
// console.log("Error1:", response.data.message);
throw new Error(`Unable to connect to API: ${response.data.message}`);
}
return response.data.payload;
} catch (e) {
console.log("Error2:", e);
// console.log("Error2:", e);
throw new Error(`Unable to connect to API: ${e}`);
}
}
2 changes: 1 addition & 1 deletion src/screens/SignIn/SignIn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ function SignInScreen({ navigation }: Props) {
} else if (err.code === "auth/user-not-found") {
setError("Email not found");
} else {
console.log(err.name);
// console.log(err.name);
setError("Unexpected error occured. Check your info");
}
});
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2543,6 +2543,11 @@
resolved "https://registry.npmjs.org/@firebase/webchannel-wrapper/-/webchannel-wrapper-0.10.3.tgz"
integrity sha512-+ZplYUN3HOpgCfgInqgdDAbkGGVzES1cs32JJpeqoh87SkRobGXElJx+1GZSaDqzFL+bYiX18qEcBK76mYs8uA==

"@fontsource/poppins@^5.1.0":
version "5.1.0"
resolved "https://registry.npmjs.org/@fontsource/poppins/-/poppins-5.1.0.tgz"
integrity sha512-tpLXlnNi2fwQjiipvuj4uNFHCdoLA8izRsKdoexZuEzjx0r/g1aKLf4ta6lFgF7L+/+AFdmaXFlUwwvmDzYH+g==

"@gar/promisify@^1.0.1":
version "1.1.3"
resolved "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz"
Expand Down Expand Up @@ -7954,11 +7959,6 @@ lighthouse-logger@^1.0.0:
debug "^2.6.9"
marky "^1.2.2"

[email protected]:
version "1.19.0"
resolved "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.19.0.tgz"
integrity sha512-C+VuUTeSUOAaBZZOPT7Etn/agx/MatzJzGRkeV+zEABmPuntv1zihncsi+AyGmjkkzq3wVedEy7h0/4S84mUtg==

lightningcss@~1.19.0:
version "1.19.0"
resolved "https://registry.npmjs.org/lightningcss/-/lightningcss-1.19.0.tgz"
Expand Down

0 comments on commit 8463c72

Please sign in to comment.