Promise toast using the shadcn sonner toast.promise API.
npx shadcn@latest add @shadcnblocks/sonner-sonner-promise-1
Sign in or get a license at Shadcn Blocks to see its source and install it.