MDK Logo
UI Kitreact-adapterHooks

useSubmitSingleAction

Submits a single action from the staged queue by its local `id`. Inspects the 200 response body for embedded errors before treating the call as successful. R…

Submits a single action from the staged queue by its local `id`. Inspects the 200 response body for embedded errors before treating the call as successful. Removes the action from the queue only on genuine success.

import { useSubmitSingleAction } from "@tetherto/mdk-react-adapter";

Signature

() => UseSubmitSingleActionResult
Package@tetherto/mdk-react-adapter
Requires providerNo