Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

purser-metamask accountChangeHook docs example with filtering #212

Merged
merged 2 commits into from
Mar 5, 2019

Conversation

rdig
Copy link
Member

@rdig rdig commented Mar 5, 2019

This PR adds in a usage docs entry to purser-metamask's accountChangeHook method, which exemplifies filtering inside the callback.

This is a preferred way of using this hook, as it will trigger even when opening the main Metamask UI, which is not something you want to update state on.

@rdig rdig added this to the Sprint 21 milestone Mar 5, 2019
@rdig rdig self-assigned this Mar 5, 2019
@rdig rdig merged commit ad1d07f into master Mar 5, 2019
@rdig rdig deleted the fix/purser-metamask-accountchangehooks-docs-examples branch March 5, 2019 11:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant