Merge pull request #973 from stackernews/fix-zap-undo-wrong-default-value
Fix zap undo wrong default value shown
This commit is contained in:
commit
89aaef5afb
|
@ -66,7 +66,7 @@ export default function Settings ({ ssrData }) {
|
||||||
initial={{
|
initial={{
|
||||||
tipDefault: settings?.tipDefault || 21,
|
tipDefault: settings?.tipDefault || 21,
|
||||||
turboTipping: settings?.turboTipping,
|
turboTipping: settings?.turboTipping,
|
||||||
zapUndos: settings?.zapUndos || settings?.tipDefault ? 100 * settings.tipDefault : 2100,
|
zapUndos: settings?.zapUndos || (settings?.tipDefault ? 100 * settings.tipDefault : 2100),
|
||||||
zapUndosEnabled: settings?.zapUndos !== null,
|
zapUndosEnabled: settings?.zapUndos !== null,
|
||||||
fiatCurrency: settings?.fiatCurrency || 'USD',
|
fiatCurrency: settings?.fiatCurrency || 'USD',
|
||||||
withdrawMaxFeeDefault: settings?.withdrawMaxFeeDefault,
|
withdrawMaxFeeDefault: settings?.withdrawMaxFeeDefault,
|
||||||
|
|
Loading…
Reference in New Issue