diff --git a/src/state/mint/reducer.ts b/src/state/mint/reducer.ts index b6d1abb..3ce2d74 100644 --- a/src/state/mint/reducer.ts +++ b/src/state/mint/reducer.ts @@ -15,10 +15,11 @@ const initialState: MintState = { independentField: Field.CURRENCY_A, typedValue: '', otherTypedValue: '', - daysToLock: 14, + daysToLock: process.env.DAYS_TO_LOCK || 14, // use the DAYS_TO_LOCK value from the environment, or use 14 as a default lockForever: false, } + export default createReducer(initialState, builder => builder .addCase(resetMintState, () => initialState)