Skip to content

Commit abad7a4

Browse files
ci: apply automated fixes
1 parent d1e52b9 commit abad7a4

File tree

6 files changed

+7
-18
lines changed

6 files changed

+7
-18
lines changed

src/components/Markdown.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -256,11 +256,7 @@ export function CodeBlock({
256256
}}
257257
aria-label="Copy code to clipboard"
258258
>
259-
{copied ? (
260-
<span className="text-xs">Copied!</span>
261-
) : (
262-
<Copy />
263-
)}
259+
{copied ? <span className="text-xs">Copied!</span> : <Copy />}
264260
</button>
265261
</div>
266262
) : null}

src/components/Navbar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ export function Navbar({ children }: { children: React.ReactNode }) {
8282
className="flex items-center gap-1 bg-gray-500/20 rounded-lg p-2 opacity-80
8383
hover:opacity-100 whitespace-nowrap uppercase font-black text-xs"
8484
>
85-
<User className="text-sm"/>
86-
<div >Log In</div>
85+
<User className="text-sm" />
86+
<div>Log In</div>
8787
</Link>
8888
)
8989

src/components/PartnershipCallout.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ export function PartnershipCallout({ libraryId }: PartnershipCalloutProps) {
1616
dark:bg-black/40 dark:shadow-none w-[500px] max-w-full mx-auto"
1717
>
1818
<span className="flex items-center gap-2 p-8 text-3xl text-rose-500 font-black uppercase">
19-
{library.name.replace('TanStack ', '')} <HeartHandshake />{' '}
20-
You?
19+
{library.name.replace('TanStack ', '')} <HeartHandshake /> You?
2120
</span>
2221
<div className="flex flex-col p-4 gap-3 text-sm">
2322
<div>

src/components/TocMobile.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ export function TocMobile({ headings }: TocMobileProps) {
2626
rounded-b-xl"
2727
aria-expanded={isOpen}
2828
>
29-
<span>
30-
{isOpen ? <ChevronDown /> : <ChevronRight />}
31-
</span>
29+
<span>{isOpen ? <ChevronDown /> : <ChevronRight />}</span>
3230
<span>On this page</span>
3331
</summary>
3432
<div className="px-2 py-2">

src/routes/admin/github-stats.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,7 @@ function GitHubStatsAdmin() {
290290
disabled={isRefreshing || refreshAllMutation.isPending}
291291
className="flex items-center gap-2 px-3 py-1.5 bg-blue-600 text-white rounded-lg hover:bg-blue-700 disabled:opacity-50 disabled:cursor-not-allowed transition-colors text-sm"
292292
>
293-
<RefreshCw
294-
className={isRefreshing ? 'animate-spin' : ''}
295-
/>
293+
<RefreshCw className={isRefreshing ? 'animate-spin' : ''} />
296294
Refresh
297295
</button>
298296
)

src/routes/admin/roles.$roleId.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,7 @@ function RoleDetailPage() {
138138
/>
139139
) : (
140140
<div className="h-10 w-10 rounded-full bg-gray-300 dark:bg-gray-600 flex items-center justify-center">
141-
<User
142-
className="text-gray-500 dark:text-gray-400"
143-
/>
141+
<User className="text-gray-500 dark:text-gray-400" />
144142
</div>
145143
)}
146144
</div>

0 commit comments

Comments
 (0)