diff options
author | eug-vs <eug-vs@keemail.me> | 2020-08-10 00:02:24 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-08-10 00:02:24 +0300 |
commit | fd6e663a1bcc43cfc49bda99ccbfab380489324b (patch) | |
tree | ea25ea2c81db0f64e10123dbadd73f361b904da2 /src/pages/HomePage | |
parent | 359ec6a68ea92b3d1eecf020742157eb3be90b9f (diff) | |
download | which-ui-fd6e663a1bcc43cfc49bda99ccbfab380489324b.tar.gz |
feat!: add useLocalStorage hook
Diffstat (limited to 'src/pages/HomePage')
-rw-r--r-- | src/pages/HomePage/HomePage.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/HomePage/HomePage.tsx b/src/pages/HomePage/HomePage.tsx index 17e377a..b1dc506 100644 --- a/src/pages/HomePage/HomePage.tsx +++ b/src/pages/HomePage/HomePage.tsx @@ -92,7 +92,7 @@ const HomePage: React.FC = () => { Here you can share your thougts about Which with us! Note that you can ony leave feedback once per application version (there will be plenty of them later). </p> - {isAuthenticated() ? <ReviewForm /> : ( + {isAuthenticated ? <ReviewForm /> : ( <> <p> You must be authorized to leave feedback.</p> <Button @@ -142,7 +142,7 @@ const HomePage: React.FC = () => { <Button variant="contained" color="primary" size="large" onClick={handleLetsGo}> {'let\'s go!'} </Button> - {!isAuthenticated() && ( + {!isAuthenticated && ( <Button variant="outlined" color="primary" |