Skip to content

Commit 4c967e0

Browse files
committed
🚀 RELEASE: version 0.0.5
1 parent cd50701 commit 4c967e0

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cra-template-typescript-firebase",
3-
"version": "0.0.4",
3+
"version": "0.0.5",
44
"license": "MIT",
55
"author": "Hussain Pettiwala",
66
"engines": {

template/src/components/auth/Logout.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@ const Logout = ({ navigateTo = "/login" }: Props) => {
1616
signOut(auth)
1717
.then(() => {
1818
navigate(navigateTo);
19+
setDisabled(false);
1920
})
2021
.catch((error) => {
2122
console.error(error);
22-
})
23-
.finally(() => {
24-
setDisabled(false);
2523
});
2624
};
2725

0 commit comments

Comments
 (0)