diff --git a/src/hooks/useGetSigningCallback.tsx b/src/hooks/useGetSigningCallback.tsx index 2a8aeaa..1db7fa8 100644 --- a/src/hooks/useGetSigningCallback.tsx +++ b/src/hooks/useGetSigningCallback.tsx @@ -1,4 +1,3 @@ -import { DispatchError } from '@polkadot-api/descriptors' import { TxEvent } from 'polkadot-api' import { toast } from 'sonner' @@ -32,7 +31,7 @@ export const useGetSigningCallback = onFinalized && onFinalized() } }, - error: (error: DispatchError) => { + error: (error: Error) => { console.error(error) toast.error(error.toString()) onError && onError() diff --git a/tsconfig.tsbuildinfo b/tsconfig.tsbuildinfo new file mode 100644 index 0000000..59e815e --- /dev/null +++ b/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"root":["./src/App.tsx","./src/Content.tsx","./src/header.tsx","./src/main.tsx","./src/navigation.tsx","./src/redot.d.ts","./src/vite-env.d.ts","./src/walletConfigs.ts","./src/components/Alert.tsx","./src/components/DelegateCard.tsx","./src/components/DelegationByAmountConviction.tsx","./src/components/DelegationCard.tsx","./src/components/ErrorBoundary.tsx","./src/components/IdentityIcon.tsx","./src/components/LocksCard.tsx","./src/components/MyDelegations.tsx","./src/components/RedirectByName.tsx","./src/components/TrackDisplay.tsx","./src/components/TrackSelection.tsx","./src/components/theme-provider.tsx","./src/components/ui/address-display.tsx","./src/components/ui/alert.tsx","./src/components/ui/anchorLink.tsx","./src/components/ui/badge.tsx","./src/components/ui/button.tsx","./src/components/ui/card.tsx","./src/components/ui/content-reveal.tsx","./src/components/ui/dialog.tsx","./src/components/ui/dropdown-menu.tsx","./src/components/ui/input.tsx","./src/components/ui/label.tsx","./src/components/ui/md.tsx","./src/components/ui/menubar.tsx","./src/components/ui/popover.tsx","./src/components/ui/select.tsx","./src/components/ui/sheet.tsx","./src/components/ui/skeleton.tsx","./src/components/ui/slider.tsx","./src/components/ui/sonner.tsx","./src/components/ui/table.tsx","./src/components/ui/textarea.tsx","./src/components/ui/title.tsx","./src/components/ui/toggle-group.tsx","./src/components/ui/toggle.tsx","./src/components/ui/tooltip.tsx","./src/contexts/AccountsContext.tsx","./src/contexts/DelegatesContext.tsx","./src/contexts/LocksContext.tsx","./src/contexts/NetworkContext.tsx","./src/hooks/useGetDelegateTx.tsx","./src/hooks/useGetSigningCallback.tsx","./src/hooks/useGetSubsquareRefUrl.tsx","./src/hooks/useGetUnlockTx.tsx","./src/hooks/useIdentity.tsx","./src/hooks/useTestTx.tsx","./src/lib/bnMin.ts","./src/lib/constants.tsx","./src/lib/convertMiliseconds.ts","./src/lib/types.ts","./src/lib/utils.ts","./src/pages/Delegate/MultiTransactionDialog.tsx","./src/pages/Delegate/TooLargeDialog.tsx","./src/pages/Delegate/index.tsx","./src/pages/Home/index.tsx"],"errors":true,"version":"5.7.2"} \ No newline at end of file