Skip to content

Commit

Permalink
Remove redundant utils file
Browse files Browse the repository at this point in the history
  • Loading branch information
mmahdigh committed Oct 29, 2024
1 parent 3597817 commit e8649da
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 173 deletions.
2 changes: 1 addition & 1 deletion app/allocation/[category]/attestation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Signer } from 'ethers';
import { Wallet } from 'thirdweb/wallets';
import { activeChain } from '@/app/lib/constants';
import { axiosInstance } from '@/app/utils/axiosInstance';
import { EASNetworks, SCHEMA_UID, convertRankingToAttestationFormat, generateRandomString, getPrevAttestationIds } from './utils';
import { EASNetworks, SCHEMA_UID, convertRankingToAttestationFormat, generateRandomString, getPrevAttestationIds } from '../utils';

export enum AttestationState {
Initial,
Expand Down
170 changes: 0 additions & 170 deletions app/allocation/[category]/attestation/utils.ts

This file was deleted.

2 changes: 1 addition & 1 deletion app/allocation/[category]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import AttestationSuccessModal from './attestation/AttestationSuccessModal';
import AttestationLoading from './attestation/AttestationLoading';
import AttestationError from './attestation/AttestationError';
import { attest, AttestationState } from './attestation';
import { useSigner } from './attestation/utils';
import { useSigner } from './utils';

enum VotingStatus {
VOTED,
Expand Down
2 changes: 1 addition & 1 deletion app/allocation/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ import BallotSuccessModal from '../comparison/ballot/modals/BallotSuccessModal';
import BallotNotReady from '../comparison/ballot/modals/BallotNotReady';
import BallotErrorDelegated from '../comparison/ballot/modals/BallotErrorDelegated';
import { attest, AttestationState } from './[category]/attestation';
import { useSigner } from './[category]/attestation/utils';
import AttestationError from './[category]/attestation/AttestationError';
import AttestationLoading from './[category]/attestation/AttestationLoading';
import AttestationSuccessModal from './[category]/attestation/AttestationSuccessModal';
import { useSigner } from './[category]/utils';

const budgetCategory: BudgetCategory = {
id: -1,
Expand Down

0 comments on commit e8649da

Please sign in to comment.