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 = (
63
63
communityId : string ,
64
64
apiKey : string
65
65
) : Promise < Response > => {
66
+ console . log ( "fetchPassport: hammer time" , {
67
+ address,
68
+ } ) ;
66
69
const url = `${ process . env . REACT_APP_PASSPORT_API_ENDPOINT } /v2/stamps/${ communityId } /score/${ address } ` ;
67
70
return fetch ( url , {
68
71
method : "GET" ,
Original file line number Diff line number Diff line change @@ -245,14 +245,7 @@ export default function ViewRoundSettings(props: {
245
245
) ,
246
246
} ) ,
247
247
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." ) ,
256
249
matchingCapAmount : yup . number ( ) . when ( "matchingCap" , {
257
250
is : ( val : string ) => val === "yes" ,
258
251
then : yup
@@ -2087,7 +2080,8 @@ function Funding(props: {
2087
2080
?. matchingCap !== true
2088
2081
}
2089
2082
checked = {
2090
- ! props . editedRound ?. roundMetadata ?. quadraticFundingConfig ?. matchingCap
2083
+ ! props . editedRound ?. roundMetadata ?. quadraticFundingConfig
2084
+ ?. matchingCap
2091
2085
}
2092
2086
onChange = { ( e ) => {
2093
2087
props . resetField (
You can’t perform that action at this time.
0 commit comments