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

Remove duplicated toast code from BuyAndSellButtons and Services #29

Open
lsaether opened this issue Nov 28, 2018 · 0 comments
Open

Remove duplicated toast code from BuyAndSellButtons and Services #29

lsaether opened this issue Nov 28, 2018 · 0 comments

Comments

@lsaether
Copy link
Contributor

lsaether commented Nov 28, 2018

related to #14

Toast code is 100% duplicated between these components. We should not have to copy paste the code on every component we need to send toast notifications on. How can we resolve the duplication of code while still being able to send the same toast notifications from all of the various components?

Maybe we can have a ToastMixin.jsx component?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant