Closed bakikucukcakiroglu closed 3 months ago
I noticed that the library already does it using header. The way I returned the headers was wrong. This is a very obvious mistake but I'll keep this issue with the solution below for those who may do something like that.
return { theme: getTheme(), _toast: toast, headers}
return json({ theme, toast }, { headers });
I wonder if there is an automized way of showing toasts or we should remove displayed toasts?