summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOliver <oliver@mohlin.dev>2025-04-24 15:09:40 +0200
committerMarkus Pettersson <markus.pettersson@mullvad.net>2025-04-30 11:04:49 +0200
commita3ca2181dff036991d8200c35c0c59ebc7116419 (patch)
tree64c39d15c5da742b1c68cbcff2d73b1743fdd0fc
parent621402bdf8727c5c275c17f327301631a824439b (diff)
downloadmullvadvpn-a3ca2181dff036991d8200c35c0c59ebc7116419.tar.xz
mullvadvpn-a3ca2181dff036991d8200c35c0c59ebc7116419.zip
Refactor MultiButton to use Button component
-rw-r--r--desktop/packages/mullvad-vpn/src/renderer/components/MultiButton.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/packages/mullvad-vpn/src/renderer/components/MultiButton.tsx b/desktop/packages/mullvad-vpn/src/renderer/components/MultiButton.tsx
index c4e6293f10..e3d773888a 100644
--- a/desktop/packages/mullvad-vpn/src/renderer/components/MultiButton.tsx
+++ b/desktop/packages/mullvad-vpn/src/renderer/components/MultiButton.tsx
@@ -1,14 +1,14 @@
import React from 'react';
import styled from 'styled-components';
-import { ButtonProps } from '../lib/components';
+import { Button, ButtonProps } from '../lib/components';
const ButtonRow = styled.div({
display: 'flex',
gap: '1px',
});
-const MainButton = styled.button({
+const MainButton = styled(Button)({
borderTopRightRadius: 0,
borderBottomRightRadius: 0,
paddingLeft: '44px',
@@ -17,7 +17,7 @@ const MainButton = styled.button({
},
});
-const SideButton = styled.button({
+const SideButton = styled(Button)({
borderTopLeftRadius: 0,
borderBottomLeftRadius: 0,
'&:focus-visible': {