Skip to content

Commit

Permalink
Replace the use of LinkButton component
Browse files Browse the repository at this point in the history
  • Loading branch information
th3c0d3br34ker committed Sep 22, 2023
1 parent b4c932c commit 5b36204
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/desktop-client/src/components/settings/UI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -77,8 +77,9 @@ export const AdvancedToggle = ({ children }: AdvancedToggleProps) => {
{children}
</View>
) : (
<LinkButton
<Button
id="advanced"
type="link"
onClick={() => setExpanded(true)}
style={{
flexShrink: 0,
Expand All @@ -88,6 +89,6 @@ export const AdvancedToggle = ({ children }: AdvancedToggleProps) => {
}}
>
Show advanced settings
</LinkButton>
</Button>
);
};

0 comments on commit 5b36204

Please sign in to comment.