Skip to content

Commit

Permalink
chore: remove the unneeded comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sayinmehmet47 committed May 4, 2024
1 parent 7dc8d5c commit e7cd17a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export async function regSw(user) {
if ('serviceWorker' in navigator && 'PushManager' in window) {
const permission = await window.Notification.requestPermission();

// If permission is granted
if (permission === 'granted') {
const register = await navigator.serviceWorker.register('/sw.js', {
scope: '/',
Expand Down

0 comments on commit e7cd17a

Please sign in to comment.