File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
round-manager/src/features/round Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,9 @@ export const fetchPassport = (
6363 communityId : string ,
6464 apiKey : string
6565) : Promise < Response > => {
66+ console . log ( "fetchPassport: hammer time" , {
67+ address,
68+ } ) ;
6669 const url = `${ process . env . REACT_APP_PASSPORT_API_ENDPOINT } /v2/stamps/${ communityId } /score/${ address } ` ;
6770 return fetch ( url , {
6871 method : "GET" ,
Original file line number Diff line number Diff line change @@ -245,14 +245,7 @@ export default function ViewRoundSettings(props: {
245245 ) ,
246246 } ) ,
247247 quadraticFundingConfig : yup . object ( {
248- matchingFundsAvailable : yup
249- . number ( )
250- . typeError ( "Invalid value." )
251- . min (
252- round ?. roundMetadata ?. quadraticFundingConfig
253- ?. matchingFundsAvailable ?? 0 ,
254- `Must be greater than previous value of ${ round ?. roundMetadata ?. quadraticFundingConfig ?. matchingFundsAvailable } .`
255- ) ,
248+ matchingFundsAvailable : yup . number ( ) . typeError ( "Invalid value." ) ,
256249 matchingCapAmount : yup . number ( ) . when ( "matchingCap" , {
257250 is : ( val : string ) => val === "yes" ,
258251 then : yup
@@ -2087,7 +2080,8 @@ function Funding(props: {
20872080 ?. matchingCap !== true
20882081 }
20892082 checked = {
2090- ! props . editedRound ?. roundMetadata ?. quadraticFundingConfig ?. matchingCap
2083+ ! props . editedRound ?. roundMetadata ?. quadraticFundingConfig
2084+ ?. matchingCap
20912085 }
20922086 onChange = { ( e ) => {
20932087 props . resetField (
You can’t perform that action at this time.
0 commit comments