Skip to content

Commit 7e4eb39

Browse files
[getsentry/action-github-commit] Auto commit
1 parent efbfd77 commit 7e4eb39

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

src/@types/react-feather.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ declare module 'react-feather' {
1212
// eslint-disable-next-line @typescript-eslint/no-explicit-any
1313
const icons: Record<string, FC<FeatherIconProps>>;
1414
export default icons;
15-
}
15+
}

src/components/copyForLLMButton.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client';
22

33
import {useState} from 'react';
4-
import {Check,Clipboard} from 'react-feather';
4+
import {Check, Clipboard} from 'react-feather';
55
import * as Sentry from '@sentry/nextjs';
66

77
interface Props {
@@ -53,12 +53,8 @@ export function CopyForLLMButton({markdownPath}: Props) {
5353
className="mr-2 float-right flex items-center gap-1 border rounded px-2 py-1 text-xs hover:bg-[var(--gray-2)]"
5454
data-mdast="ignore"
5555
>
56-
{copied ? (
57-
<Check size={14} />
58-
) : (
59-
<Clipboard size={14} />
60-
)}
56+
{copied ? <Check size={14} /> : <Clipboard size={14} />}
6157
<span className="whitespace-nowrap">Copy for LLM</span>
6258
</button>
6359
);
64-
}
60+
}

0 commit comments

Comments
 (0)