Skip to content

Commit

Permalink
fix: type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bhargavaparoksham committed Apr 29, 2024
1 parent 4991b9f commit 5721b0f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/round-manager/src/features/api/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { RoundVisibilityType } from "common";
import { BigNumber } from "ethers";
import { Address } from "viem";
import { SchemaQuestion } from "./utils";
import { RoundForManager, SybilDefence } from "data-layer";
import { RoundForManager, SybilDefense } from "data-layer";

export type Network = "optimism" | "fantom" | "pgn";

Expand Down Expand Up @@ -170,7 +170,7 @@ export interface Round {
matchingCapAmount?: number;
minDonationThreshold?: boolean;
minDonationThresholdAmount?: number;
sybilDefense?: SybilDefence;
sybilDefense?: SybilDefense;
};
support?: {
type: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ import { ethers } from "ethers";
import { getConfig } from "common/src/config";
import { zeroAddress } from "viem";
import { NATIVE } from "common/dist/allo/common";
import { SybilDefence } from "data-layer";
import { SybilDefense } from "data-layer";

type EditMode = {
canEdit: boolean;
Expand Down Expand Up @@ -2406,7 +2406,7 @@ function Funding(props: {
quadraticFundingConfig: {
...props.editedRound?.roundMetadata
.quadraticFundingConfig,
sybilDefense: e.target.value as SybilDefence,
sybilDefense: e.target.value as SybilDefense,
},
},
});
Expand Down Expand Up @@ -2465,7 +2465,7 @@ function Funding(props: {
quadraticFundingConfig: {
...props.editedRound?.roundMetadata
.quadraticFundingConfig,
sybilDefense: e.target.value as SybilDefence,
sybilDefense: e.target.value as SybilDefense,
},
},
});
Expand Down Expand Up @@ -2512,7 +2512,7 @@ function Funding(props: {
quadraticFundingConfig: {
...props.editedRound?.roundMetadata
.quadraticFundingConfig,
sybilDefense: e.target.value as SybilDefence,
sybilDefense: e.target.value as SybilDefense,
},
},
});
Expand Down

0 comments on commit 5721b0f

Please sign in to comment.