There was an error while loading. Please reload this page.
1 parent cd50701 commit 4c967e0Copy full SHA for 4c967e0
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "cra-template-typescript-firebase",
3
- "version": "0.0.4",
+ "version": "0.0.5",
4
"license": "MIT",
5
"author": "Hussain Pettiwala",
6
"engines": {
template/src/components/auth/Logout.tsx
@@ -16,12 +16,10 @@ const Logout = ({ navigateTo = "/login" }: Props) => {
16
signOut(auth)
17
.then(() => {
18
navigate(navigateTo);
19
+ setDisabled(false);
20
})
21
.catch((error) => {
22
console.error(error);
- })
23
- .finally(() => {
24
- setDisabled(false);
25
});
26
};
27
0 commit comments