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={{
 | 
			
		||||
            tipDefault: settings?.tipDefault || 21,
 | 
			
		||||
            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,
 | 
			
		||||
            fiatCurrency: settings?.fiatCurrency || 'USD',
 | 
			
		||||
            withdrawMaxFeeDefault: settings?.withdrawMaxFeeDefault,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user