Skip to content

Compositions: useRejection

ts
const useRejection: RouterAssets<RegisteredRouter>["useRejection"];

A composition to access the rejection from the router.

Returns

The rejection from the router.