diff options
Diffstat (limited to 'src/pages/HomePage/HomePage.tsx')
-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" |