Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/state/mint/reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<MintState>(initialState, builder =>
builder
.addCase(resetMintState, () => initialState)
Expand Down