Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaut committed Dec 13, 2024
1 parent a5d924b commit e43cdd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/hooks/useGetSigningCallback.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { DispatchError } from '@polkadot-api/descriptors'
import { TxEvent } from 'polkadot-api'
import { toast } from 'sonner'

Expand Down Expand Up @@ -32,7 +31,7 @@ export const useGetSigningCallback =
onFinalized && onFinalized()
}
},
error: (error: DispatchError) => {
error: (error: Error) => {
console.error(error)
toast.error(error.toString())
onError && onError()
Expand Down
1 change: 1 addition & 0 deletions tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -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"}

0 comments on commit e43cdd8

Please sign in to comment.