Skip to content

WIP add custom hook for react notifications (REACT Apple Pay)#28

Open
Devlaird wants to merge 1 commit intomainfrom
add-event-listener-custom-hook
Open

WIP add custom hook for react notifications (REACT Apple Pay)#28
Devlaird wants to merge 1 commit intomainfrom
add-event-listener-custom-hook

Conversation

@Devlaird
Copy link
Contributor

📝 PR Description

Screenshot 2025-05-23 at 11 44 22 am

TODO include the data payload

Change Checklist

The following must be reviewed and signed off by the creator of the PR. To sign off review and check each

🔑 Security

  • Security of any environment is not reduced by this change.
  • All existing security controls remain in place or have been replaced with equal or stronger controls.

Testing of Changes

  • Testing results have been verified as complete and covering all aspects of the change.
  • Evidence of testing attached
  • Security scans are passing
  • No package vulnerabilities introduced

🔎 Quality assurance

  • Reviewed this PR myself
  • Automated tests are required and included
  • Security controls have been reviewed
  • Changes are Blue-Green friendly

const handleEvent = (event: any) => {
if (event?.type) {
setEvents((prev) => [...prev, event.type as PublicEvent]);
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update to also handle data payload

@Devlaird Devlaird changed the title WIP add custom hook for react notifications WIP add custom hook for react notifications (REACT Apple Pay) Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant