Skip to content

Commit a2a980c

Browse files
committed
fmt
1 parent 6a83176 commit a2a980c

File tree

5 files changed

+9
-14
lines changed

5 files changed

+9
-14
lines changed

site/src/components/Paywall/Paywall.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ export const Paywall: FC<PaywallProps> = ({
2525
<PremiumBadge />
2626
</Stack>
2727

28-
{description && <p className="font-inherit max-w-md text-sm">{description}</p>}
28+
{description && (
29+
<p className="font-inherit max-w-md text-sm">{description}</p>
30+
)}
2931
<Link
3032
href={documentationLink}
3133
target="_blank"

site/src/components/SelectMenu/SelectMenu.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const meta: Meta<typeof SelectMenu> = {
3131
</SelectMenuButton>
3232
</SelectMenuTrigger>
3333
<SelectMenuContent>
34-
<SelectMenuSearch onChange={() => { }} />
34+
<SelectMenuSearch onChange={() => {}} />
3535
<SelectMenuList>
3636
{opts.map((o) => (
3737
<SelectMenuItem key={o} selected={o === selectedOpt}>
@@ -83,7 +83,7 @@ export const LongButtonText: Story = {
8383
</SelectMenuButton>
8484
</SelectMenuTrigger>
8585
<SelectMenuContent>
86-
<SelectMenuSearch onChange={() => { }} />
86+
<SelectMenuSearch onChange={() => {}} />
8787
<SelectMenuList>
8888
{opts.map((o) => (
8989
<SelectMenuItem key={o} selected={o === selectedOpt}>

site/src/components/SelectMenu/SelectMenu.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,9 @@ export const SelectMenuIcon: FC<HTMLProps<HTMLDivElement>> = (props) => {
112112

113113
export const SelectMenuItem: FC<MenuItemProps> = (props) => {
114114
return (
115-
<MenuItem
116-
className="text-sm gap-0 leading-none py-3 px-4"
117-
{...props}
118-
>
115+
<MenuItem className="text-sm gap-0 leading-none py-3 px-4" {...props}>
119116
{props.children}
120-
{props.selected && (
121-
<CheckIcon className="size-icon-xs ml-auto" />
122-
)}
117+
{props.selected && <CheckIcon className="size-icon-xs ml-auto" />}
123118
</MenuItem>
124119
);
125120
};

site/src/components/SyntaxHighlighter/SyntaxHighlighter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ interface SyntaxHighlighterProps {
1010
value: string;
1111
language?: string;
1212
editorProps?: ComponentProps<typeof Editor> &
13-
ComponentProps<typeof DiffEditor>;
13+
ComponentProps<typeof DiffEditor>;
1414
compareWith?: string;
1515
}
1616

site/src/components/TableToolbar/TableToolbar.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ import type { FC, PropsWithChildren } from "react";
33

44
export const TableToolbar: FC<PropsWithChildren> = ({ children }) => {
55
return (
6-
<div
7-
className="text-sm mb-2 mt-0 h-9 text-content-secondary flex items-center [&_strong]:text-content-primary"
8-
>
6+
<div className="text-sm mb-2 mt-0 h-9 text-content-secondary flex items-center [&_strong]:text-content-primary">
97
{children}
108
</div>
119
);

0 commit comments

Comments
 (0)