diff options
| author | Oliver <oliver@mohlin.dev> | 2025-09-17 07:25:42 +0200 |
|---|---|---|
| committer | Tobias Järvelöv <tobias.jarvelov@mullvad.net> | 2025-09-22 12:35:44 +0200 |
| commit | 5f3f8f7bb2e8de23d3aa33e52b7874c43d4cf7d4 (patch) | |
| tree | c53dd3ebdc769bed474686858c5d51f20a4318e6 | |
| parent | 6660358935ffba1e235540ef3c9dbc2b083c1537 (diff) | |
| download | mullvadvpn-5f3f8f7bb2e8de23d3aa33e52b7874c43d4cf7d4.tar.xz mullvadvpn-5f3f8f7bb2e8de23d3aa33e52b7874c43d4cf7d4.zip | |
Update ConnectButton component props
| -rw-r--r-- | desktop/packages/mullvad-vpn/src/renderer/components/views/main/components/connection-panel/components/connect-button/ConnectButton.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/packages/mullvad-vpn/src/renderer/components/views/main/components/connection-panel/components/connect-button/ConnectButton.tsx b/desktop/packages/mullvad-vpn/src/renderer/components/views/main/components/connection-panel/components/connect-button/ConnectButton.tsx index fd2abafa2f..2a41ee59fb 100644 --- a/desktop/packages/mullvad-vpn/src/renderer/components/views/main/components/connection-panel/components/connect-button/ConnectButton.tsx +++ b/desktop/packages/mullvad-vpn/src/renderer/components/views/main/components/connection-panel/components/connect-button/ConnectButton.tsx @@ -3,9 +3,9 @@ import { useCallback } from 'react'; import { messages } from '../../../../../../../../shared/gettext'; import log from '../../../../../../../../shared/logging'; import { useAppContext } from '../../../../../../../context'; -import { Button } from '../../../../../../../lib/components'; +import { Button, ButtonProps } from '../../../../../../../lib/components'; -export function ConnectButton(props: Partial<Parameters<typeof Button>[0]>) { +export function ConnectButton(props: ButtonProps) { const { connectTunnel } = useAppContext(); const onConnect = useCallback(async () => { |
