Skip to content

Commit 5feb7e2

Browse files
ci: apply automated fixes
1 parent 2c9fff3 commit 5feb7e2

4 files changed

Lines changed: 17 additions & 9 deletions

File tree

‎examples/solid/authenticated-routes/src/routes/_auth.invoices.$invoiceId.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ function InvoicePage() {
1717
return (
1818
<section class="grid gap-2">
1919
<h2 class="text-lg">
20-
<strong>Invoice No.</strong> #{loaderData().invoice.id.toString().padStart(2, '0')}
20+
<strong>Invoice No.</strong> #
21+
{loaderData().invoice.id.toString().padStart(2, '0')}
2122
</h2>
2223
<p>
2324
<strong>Invoice title:</strong> {loaderData().invoice.title}

‎examples/solid/authenticated-routes/src/routes/_auth.invoices.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Link, Outlet, createFileRoute } from '@tanstack/solid-router'
1+
import { Link, Outlet, createFileRoute } from '@tanstack/solid-router'
22

33
import { fetchInvoices } from '../posts'
44

‎examples/solid/authenticated-routes/src/routes/_auth.tsx‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
import { Link, Outlet, createFileRoute, redirect, useRouter } from '@tanstack/solid-router'
1+
import {
2+
Link,
3+
Outlet,
4+
createFileRoute,
5+
redirect,
6+
useRouter,
7+
} from '@tanstack/solid-router'
28

39
import { useAuth } from '../auth'
410

@@ -53,11 +59,7 @@ function AuthLayout() {
5359
</Link>
5460
</li>
5561
<li>
56-
<button
57-
type="button"
58-
class="hover:underline"
59-
onClick={handleLogout}
60-
>
62+
<button type="button" class="hover:underline" onClick={handleLogout}>
6163
Logout
6264
</button>
6365
</li>

‎examples/solid/authenticated-routes/src/routes/login.tsx‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
import * as Solid from 'solid-js'
2-
import { createFileRoute, redirect, useRouter, useRouterState } from '@tanstack/solid-router'
2+
import {
3+
createFileRoute,
4+
redirect,
5+
useRouter,
6+
useRouterState,
7+
} from '@tanstack/solid-router'
38
import { z } from 'zod'
49

510
import { useAuth } from '../auth'

0 commit comments

Comments
 (0)