Skip to content

Commit

Permalink
Removed ethers
Browse files Browse the repository at this point in the history
  • Loading branch information
MIDAV0 committed Sep 20, 2023
1 parent 91909f9 commit b5accbb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
"electron-log": "^4.4.8",
"electron-root-path": "^1.1.0",
"electron-updater": "^5.3.0",
"ethers": "^6.6.7",
"genson-js": "^0.0.8",
"grommet": "^2.32.2",
"grommet-icons": "^4.11.0",
Expand Down
5 changes: 1 addition & 4 deletions src/renderer/hooks/useTaskData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ import { TaskType } from 'renderer/components/types';
import { FLOCK_TASK_ABI } from 'renderer/contracts/flockTask';
import { useContractRead } from 'wagmi';
import { readContract } from '@wagmi/core';
import { formatUnits } from 'ethers';
import { create as ipfsHttpClient } from 'ipfs-http-client';

const ipfsClient = ipfsHttpClient({ url: 'https://ipfs.flock.io/api/v0' });
import { formatUnits } from 'viem';

export const useTaskData = ({
task,
Expand Down

0 comments on commit b5accbb

Please sign in to comment.