aboutsummaryrefslogtreecommitdiff
path: root/src/containers/Profile/Profile.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/containers/Profile/Profile.tsx')
-rw-r--r--src/containers/Profile/Profile.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/containers/Profile/Profile.tsx b/src/containers/Profile/Profile.tsx
index 7e929fb..33abfc2 100644
--- a/src/containers/Profile/Profile.tsx
+++ b/src/containers/Profile/Profile.tsx
@@ -6,6 +6,7 @@ import { Container } from '@material-ui/core';
import ProfileInfo from './ProfileInfo';
import PollsList from '../../components/PollsList/PollsList';
import Loading from '../../components/Loading/Loading';
+import Fab from '../../components/Fab/Fab';
import { useAuth } from '../../hooks/useAuth';
import { useUser, useProfile } from '../../hooks/APIClient';
@@ -46,6 +47,7 @@ const Profile: React.FC = () => {
? <Loading />
: <PollsList polls={polls} mutate={mutatePolls} />
}
+ {user?.username === username && <Fab />}
</Container>
);
};