Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
fix: reload pwa
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiejaoude committed Nov 12, 2023
1 parent f4532e2 commit d05d7fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/[username].js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export default function User({ data, BASE_URL, isLoggedIn }) {

{pwa && (
<Button
onClick={window.location.reload()}
onClick={() => window.location.reload()}
overrideClassNames={true}
className="fixed top-5 right-5 rounded-full focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-secondary-high"
>
Expand Down

0 comments on commit d05d7fe

Please sign in to comment.