Skip to content

Commit

Permalink
fix(frontend): fix standalone mode detection
Browse files Browse the repository at this point in the history
  • Loading branch information
kkkrist committed Oct 28, 2020
1 parent 1d35eeb commit 9733a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ const App = () => {
}, [addNotification])

useEffect(() => {
if (!window.matchMedia('(display-mode: standalone)').matches) {
if (window.matchMedia('(display-mode: standalone)').matches) {
return
}

Expand Down

0 comments on commit 9733a7e

Please sign in to comment.