There was an error while loading. Please reload this page.
1 parent 71c0a8b commit cd50701Copy full SHA for cd50701
README.md
@@ -26,10 +26,6 @@ OR
26
yarn create react-app your-project-name --template typescript-firebase
27
```
28
29
-`npx` command installs the most recent stable version of CRA from npm.
30
-
31
-`--template` parameter points to this template, note that `cra-template-` prefix is omitted.
32
33
## ⚙️ Usage
34
35
### SetUp firebase
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
});
};
0 commit comments