diff --git a/src/components/Settings/index.tsx b/src/components/Settings/index.tsx index b38f8e06fb..2a6b58c689 100644 --- a/src/components/Settings/index.tsx +++ b/src/components/Settings/index.tsx @@ -123,7 +123,7 @@ const ModalContentWrapper = styled.div` export default function SettingsTab({ placeholderSlippage }: { placeholderSlippage: Percent }) { const { chainId } = useWeb3React() - const node = useRef() + const node = useRef(null) const open = useModalIsOpen(ApplicationModal.SETTINGS) const toggle = useToggleSettingsMenu() @@ -139,8 +139,7 @@ export default function SettingsTab({ placeholderSlippage }: { placeholderSlippa useOnClickOutside(node, open ? toggle : undefined) return ( - // https://github.com/DefinitelyTyped/DefinitelyTyped/issues/30451 - + setShowConfirmation(false)} maxHeight={100}>