diff --git a/packages/common/src/index.ts b/packages/common/src/index.ts index f352560820..e256aab161 100644 --- a/packages/common/src/index.ts +++ b/packages/common/src/index.ts @@ -63,6 +63,9 @@ export const fetchPassport = ( communityId: string, apiKey: string ): Promise => { + console.log("fetchPassport: hammer time", { + address, + }); const url = `${process.env.REACT_APP_PASSPORT_API_ENDPOINT}/v2/stamps/${communityId}/score/${address}`; return fetch(url, { method: "GET", diff --git a/packages/round-manager/src/features/round/ViewRoundSettings.tsx b/packages/round-manager/src/features/round/ViewRoundSettings.tsx index 3739ce91fe..a0cec5bc2e 100644 --- a/packages/round-manager/src/features/round/ViewRoundSettings.tsx +++ b/packages/round-manager/src/features/round/ViewRoundSettings.tsx @@ -245,14 +245,7 @@ export default function ViewRoundSettings(props: { ), }), quadraticFundingConfig: yup.object({ - matchingFundsAvailable: yup - .number() - .typeError("Invalid value.") - .min( - round?.roundMetadata?.quadraticFundingConfig - ?.matchingFundsAvailable ?? 0, - `Must be greater than previous value of ${round?.roundMetadata?.quadraticFundingConfig?.matchingFundsAvailable}.` - ), + matchingFundsAvailable: yup.number().typeError("Invalid value."), matchingCapAmount: yup.number().when("matchingCap", { is: (val: string) => val === "yes", then: yup @@ -2087,7 +2080,8 @@ function Funding(props: { ?.matchingCap !== true } checked={ - !props.editedRound?.roundMetadata?.quadraticFundingConfig?.matchingCap + !props.editedRound?.roundMetadata?.quadraticFundingConfig + ?.matchingCap } onChange={(e) => { props.resetField(