Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kacperzuk-neti committed Sep 24, 2024
1 parent aff9ad5 commit 82b95b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/components/cards/AppInfoCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ const AppInfoCard: React.FC<ComponentProps> = ({
return
}


if (allocationAmount < allowance) {
setIsProgressBarVisible(true)
setProgress(0)
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ const useWallet = (): WalletState => {
setMessage('Sending proposal...')

const bytesDatacap = Math.floor(anyToBytes(proposalAllocationAmount))
if (bytesDatacap === 0) throw new Error("Can't grant 0 datacap.");
if (bytesDatacap === 0) throw new Error("Can't grant 0 datacap.")

const messageCID =
allocatorType === AllocatorTypeEnum.CONTRACT
Expand Down

0 comments on commit 82b95b0

Please sign in to comment.