#Toast on Success

1 messages · Page 1 of 1 (latest)

fierce locust
#

Why can’t you just try / catch exactly?

subtle umbra
#

Basically to use it in a client component you run toast.sucess()

#

But I can't do that in a server function

#

And I can't return stuff from an action

fierce locust
#

Wouldn’t you use that in the component you’re calling the server function from?

#

I haven’t used it in all fairness