Skip to content

Commit

Permalink
Removed refresh button
Browse files Browse the repository at this point in the history
  • Loading branch information
allgood committed May 17, 2024
1 parent c3fe9cc commit 3252918
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions frontend/src/layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,10 +336,6 @@ const LoggedInLayout = ({ children, themeToggle }) => {
}
};

const handleRefreshPage = () => {
window.location.reload(false);
}

const handleMenuItemClick = () => {
const { innerWidth: width } = window;
if (width <= 600) {
Expand Down Expand Up @@ -440,14 +436,6 @@ const LoggedInLayout = ({ children, themeToggle }) => {
volume={volume}
/>

<IconButton
onClick={handleRefreshPage}
aria-label={i18n.t("mainDrawer.appBar.refresh")}
color="inherit"
>
<CachedIcon style={{ color: "white" }} />
</IconButton>

{user.id && <NotificationsPopOver volume={volume} />}

<AnnouncementsPopover />
Expand Down

0 comments on commit 3252918

Please sign in to comment.