From 5b362044d3a7788041801fd984608ad53c784d5c Mon Sep 17 00:00:00 2001 From: th3c0d3br34ker Date: Sat, 23 Sep 2023 00:03:43 +0530 Subject: [PATCH] Replace the use of LinkButton component --- packages/desktop-client/src/components/settings/UI.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/desktop-client/src/components/settings/UI.tsx b/packages/desktop-client/src/components/settings/UI.tsx index 1a402de8f82..766e4952f68 100644 --- a/packages/desktop-client/src/components/settings/UI.tsx +++ b/packages/desktop-client/src/components/settings/UI.tsx @@ -5,7 +5,7 @@ import { css, media } from 'glamor'; import { type CSSProperties, theme } from '../../style'; import tokens from '../../tokens'; -import LinkButton from '../common/LinkButton'; +import Button from '../common/Button'; import View from '../common/View'; type SettingProps = { @@ -77,8 +77,9 @@ export const AdvancedToggle = ({ children }: AdvancedToggleProps) => { {children} ) : ( - setExpanded(true)} style={{ flexShrink: 0, @@ -88,6 +89,6 @@ export const AdvancedToggle = ({ children }: AdvancedToggleProps) => { }} > Show advanced settings - + ); };