Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add error boundary and snackbar store #15

Merged

Conversation

ayushtom
Copy link
Collaborator

@ayushtom ayushtom commented Aug 4, 2023

No description provided.


export const showSnackbar = (message?: string) => (dispatch: any) => {
dispatch(showToast());
const TOAST_STYLE: ToastOptions = {
Copy link
Collaborator

Choose a reason for hiding this comment

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

we are also using this config over here - https://github.com/apoorvsadana/madara-tsukuyomi/blob/97cd3d568eb86f49075da6ad2fcebb6a75beb7a9/src/renderer/pages/Apps.tsx#L124

can we store the common things in a config?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed this

@apoorvsadana apoorvsadana merged commit 65e3db1 into keep-starknet-strange:main Aug 7, 2023
2 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants