Closed Shane-Lester closed 6 years ago
In your app-profile.tsx change your handleSub() method to the one from my pull request https://github.com/ionic-team/ionic-pwa-toolkit/pull/29/files#diff-a34eae357d531d9682969d92be8eaef1R43
Hey! I just merged that PR, thanks @arjunyel !
Resources: Before submitting an issue, please consult our docs.
Stencil version: (run
npm list @stencil/core
from a terminal/cmd prompt and paste output below):I'm submitting a ... (check one with "x") [ x] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com
Current behavior:
Error in console after npm start (from the unchanged cloned repo)
Expected behavior:
no error
Steps to reproduce:
Clone repo npm install npm start (as per the README) Click on Profile page Toggle Notifications
Related code:
Other information:
Logs true to the console when there is an error (Notifcations toggled on). No error when toggled false