summaryrefslogtreecommitdiffhomepage
path: root/gui/src/renderer/components
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2021-12-16 19:51:06 +0100
committerOskar Nyberg <oskar@mullvad.net>2021-12-21 09:45:31 +0100
commit98e4c5b0483bf10a1ef28400430289cf46a90455 (patch)
treed682f16f524a81273b9ea69a8ef3d40e226af988 /gui/src/renderer/components
parent76f10411cdbc2167fd82b794186efe8b433721d0 (diff)
downloadmullvadvpn-98e4c5b0483bf10a1ef28400430289cf46a90455.tar.xz
mullvadvpn-98e4c5b0483bf10a1ef28400430289cf46a90455.zip
Update TypeScript
Diffstat (limited to 'gui/src/renderer/components')
-rw-r--r--gui/src/renderer/components/CustomDnsSettings.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/src/renderer/components/CustomDnsSettings.tsx b/gui/src/renderer/components/CustomDnsSettings.tsx
index ae65f0f1fb..7379b4f068 100644
--- a/gui/src/renderer/components/CustomDnsSettings.tsx
+++ b/gui/src/renderer/components/CustomDnsSettings.tsx
@@ -54,7 +54,7 @@ export default function CustomDnsSettings() {
const inputContainerRef = useRef() as React.RefObject<HTMLDivElement>;
const confirm = useCallback(() => {
- confirmAction?.();
+ void confirmAction?.();
setConfirmAction(undefined);
}, [confirmAction]);
const abortConfirmation = useCallback(() => {