-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
toast.show("Hello World"); is undefines or not a function in multiple times #186
Labels
bug
Something isn't working
Comments
same bug here |
same here |
I am getting this on web too. |
Fixed! I realized the ToastProvider wasn't mounting in time, causing the reference to |
same here |
Like this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current behaviour
At first build all works fine but after modified any code it reload app ant toast show undefined
Expected behaviour
return undefined not show mesage
Code sample
For Syntax Highlighting check this link
`const Main = () => {
const [Screen, setScreen] = useState('logo')
const toast = useToast();
useEffect(() => {
toast.show("Hello World");
}, []);
`
Screenshots (if applicable)
What have you tried
Your Environment
The text was updated successfully, but these errors were encountered: