diff --git a/desktop/packages/mullvad-vpn/src/renderer/components/EditApiAccessMethod.tsx b/desktop/packages/mullvad-vpn/src/renderer/components/EditApiAccessMethod.tsx index ad6d154443f6..79c7de686158 100644 --- a/desktop/packages/mullvad-vpn/src/renderer/components/EditApiAccessMethod.tsx +++ b/desktop/packages/mullvad-vpn/src/renderer/components/EditApiAccessMethod.tsx @@ -16,13 +16,7 @@ import { useLastDefinedValue } from '../lib/utility-hooks'; import { useSelector } from '../redux/store'; import { SettingsForm } from './cell/SettingsForm'; import { BackAction } from './KeyboardNavigation'; -import { - Layout, - SettingsContainer, - SettingsContent, - SettingsNavigationScrollbars, - SettingsStack, -} from './Layout'; +import { Layout, SettingsContainer, SettingsContent, SettingsNavigationScrollbars } from './Layout'; import { ModalAlert, ModalAlertType } from './Modal'; import { NavigationBar, NavigationContainer, NavigationItems, TitleBarItem } from './NavigationBar'; import { NamedProxyForm } from './ProxyForm'; @@ -114,13 +108,11 @@ function AccessMethodForm() { {subtitle} - - {id !== undefined && method === undefined ? ( - Failed to open method - ) : ( - - )} - + {id !== undefined && method === undefined ? ( + Failed to open method + ) : ( + + )} {title} - - - + )} - {messages.gettext('Cancel')} - - {props.new ? messages.gettext('Add') : messages.gettext('Save')} - + + {messages.gettext('Cancel')} + + {props.new ? messages.gettext('Add') : messages.gettext('Save')} + + ); }