vercel / next.js

The React Framework
https://nextjs.org
MIT License
122.82k stars 26.27k forks source link

Fix typo in with-firebase-cloud-messaging example #23758

Closed shreyas-jadhav closed 3 years ago

shreyas-jadhav commented 3 years ago

What example does this report relate to?

with-firebase-cloud-messaging

What version of Next.js are you using?

10.1

What version of Node.js are you using?

14.16.0

What browser are you using?

Chrome Dev

What operating system are you using?

Windows

How are you deploying your application?

npm run dev

Describe the Bug

There's a typo in the example localforage.setItem('fcm_token', token)

https://github.com/vercel/next.js/blob/canary/examples/with-firebase-cloud-messaging/utils/webPush.js#L27

Expected Behavior

localStorage.setItem('fcm_token', token)

To Reproduce

with-firebase-cloud-messaging/utils/webPush.js

line number - 27

balazsorban44 commented 2 years ago

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.