Skip to content

Commit

Permalink
Fixed update modal
Browse files Browse the repository at this point in the history
  • Loading branch information
renatodellosso committed Jun 26, 2024
1 parent 59754ea commit 8178f75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/UpdateModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function UpdateModal(props: {}) {
const res = localStorage.getItem(`gb-update-${VERSION}`);
if (modalRef.current && !res) {
modalRef.current.showModal();
localStorage.setItem(VERSION, "true");
localStorage.setItem(`gb-update-${VERSION}`, "true");
}
});

Expand Down
2 changes: 1 addition & 1 deletion pages/profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function Profile(props: { teamList: Team[] }) {

return (
<Container requireAuthentication={true} hideMenu={false}>
<UpdateModal></UpdateModal>
<UpdateModal />
<Flex className="my-8 space-y-4" center={true} mode="col">
<Card title={user?.name} coloredTop="bg-accent">
<Flex
Expand Down

0 comments on commit 8178f75

Please sign in to comment.