diff --git a/src/components/modal/closeChannel/CloseChannel.tsx b/src/components/modal/closeChannel/CloseChannel.tsx index 0957989f..8c1bec5a 100644 --- a/src/components/modal/closeChannel/CloseChannel.tsx +++ b/src/components/modal/closeChannel/CloseChannel.tsx @@ -86,7 +86,7 @@ export const CloseChannel = ({ Are you sure you want to close the channel? {fetchFees && !dontShow && - renderButton(() => setIsType('none'), 'Auto', isType === 'none')} - {renderButton(() => setIsType('fee'), 'Fee', isType === 'fee')} + renderButton( + () => { + setAmount(0); + setIsType('none'); + }, + 'Auto', + isType === 'none' + )} {renderButton( - () => setIsType('target'), + () => { + setAmount(0); + setIsType('fee'); + }, + 'Fee', + isType === 'fee' + )} + {renderButton( + () => { + setAmount(0); + setIsType('target'); + }, 'Target', isType === 'target' )}