diff --git a/src/AuthenticatedSwitch.jsx b/src/AuthenticatedSwitch.jsx index 8d0597b4..eff39216 100644 --- a/src/AuthenticatedSwitch.jsx +++ b/src/AuthenticatedSwitch.jsx @@ -218,9 +218,12 @@ export default function AuthenticatedSwitch({ - + + + + @@ -235,4 +238,4 @@ export default function AuthenticatedSwitch({ /> ); -} \ No newline at end of file +} diff --git a/src/components/AuthenticatedAppHeader/ActionsPane.jsx b/src/components/AuthenticatedAppHeader/ActionsPane.jsx index 5dc67427..cb084c4a 100644 --- a/src/components/AuthenticatedAppHeader/ActionsPane.jsx +++ b/src/components/AuthenticatedAppHeader/ActionsPane.jsx @@ -94,7 +94,7 @@ export default function NotificationsPane({ onClose={closePopover} > - + { if (!userData || !metadataSchemas) return []; @@ -104,120 +97,108 @@ export default function UserProfile({ open={preferenceModalOpen} onClose={() => setPreferenceModalOpen(false)} /> - - - - - setEditingProfile(true) // ??? - } - renderAvatar={ - - } - renderOptions={ - noCollaborate ? undefined : ( - - ) - } + + + + + setEditingProfile(true) // ??? + } + renderAvatar={ + + } + renderOptions={ + noCollaborate ? undefined : ( + + ) + } + > + - + + {`@${communityUsername}`} + + + > + )} + + + + + setEditingProfile(true)} > - {communityUsername && <> - - {`@${communityUsername}`} - - - >} - - - - + + setPreferenceModalOpen(true)} > - setEditingProfile(true)} - > - - - setPreferenceModalOpen(true)} - > - - - + + - - - + - - - - + + + + + {children} - - + + + {/* } projects={[ @@ -227,60 +208,26 @@ export default function UserProfile({ ]} /> */} - - {!someoneElse && ( - - - - )} - {someoneElse && viewerIsUserManager && ( - - - - )} - {/* - */} + + + + {!someoneElse && ( + + + + )} + {someoneElse && viewerIsUserManager && ( + + + + )} + + diff --git a/src/pages/dataPage/DataPage.jsx b/src/pages/dataPage/DataPage.jsx index 41aadf9e..e19d3305 100644 --- a/src/pages/dataPage/DataPage.jsx +++ b/src/pages/dataPage/DataPage.jsx @@ -14,8 +14,6 @@ import SightingsCard from '../../components/cards/SightingsCard'; import CardContainer from '../../components/cards/CardContainer'; import useGetMe from '../../models/users/useGetMe'; import Text from '../../components/Text'; -import HomeBreadcrumbs from '../home/HomeBreadcrumbs'; -import ButtonLink from '../../components/ButtonLink'; import LoadingScreen from '../../components/LoadingScreen'; import useDeleteSighting from '../../models/sighting/useDeleteSighting'; @@ -107,12 +105,13 @@ export default function DataPage() { return ( + - - { @@ -218,7 +217,7 @@ export default function DataPage() {