Skip to content

Commit 204ab0f

Browse files
ci: apply automated fixes
1 parent 82b3bf0 commit 204ab0f

File tree

15 files changed

+2
-24
lines changed

15 files changed

+2
-24
lines changed

examples/solid/basic-ssr-file-based/src/routes/error.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { createFileRoute } from '@tanstack/solid-router'
22

3-
43
export const Route = createFileRoute('/error')({
54
component: ErrorComponent,
65
loader: () => {

examples/solid/basic-ssr-file-based/src/routes/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { createFileRoute } from '@tanstack/solid-router'
22

3-
43
export const Route = createFileRoute('/')({
54
loader: () => ({
65
date: new Date(),

examples/solid/basic-ssr-file-based/src/routes/posts/$postId.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,7 @@ function PostComponent() {
7070
return (
7171
<div>
7272
<h6 class="text-md font-bold">{comment.name}</h6>
73-
<div class="text-sm italic opacity-50">
74-
{comment.email}
75-
</div>
73+
<div class="text-sm italic opacity-50">{comment.email}</div>
7674
<div class="text-sm">{comment.body}</div>
7775
</div>
7876
)

examples/solid/basic-ssr-file-based/src/routes/posts/index.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
import { createFileRoute } from '@tanstack/solid-router'
22

3-
43
export const Route = createFileRoute('/posts/')({
54
component: PostsIndexComponent,
65
wrapInSuspense: true,
76
errorComponent: ({ error }) => {
8-
return (
9-
<div class="text-red-500">Failed to load post: {error.message}</div>
10-
)
7+
return <div class="text-red-500">Failed to load post: {error.message}</div>
118
},
129
})
1310

examples/solid/basic-ssr-file-based/src/routes/posts/route.tsx

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

43
export type PostType = {

examples/solid/basic-virtual-file-based/src/routes/home.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
export const Route = createFileRoute({
42
component: Home,
53
})

examples/solid/basic-virtual-file-based/src/routes/posts/posts-detail.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import { ErrorComponent } from '@tanstack/solid-router'
32
import { fetchPost } from '../../posts'
43
import type { ErrorComponentProps } from '@tanstack/solid-router'

examples/solid/basic-virtual-file-based/src/routes/posts/posts-home.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
export const Route = createFileRoute({
42
component: PostsIndexComponent,
53
})

examples/solid/basic-virtual-file-based/src/routes/posts/posts.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import { Link, Outlet } from '@tanstack/solid-router'
32
import { fetchPosts } from '../../posts'
43

examples/solid/basic-virtual-file-based/src/routes/root.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import { Link, Outlet, createRootRoute } from '@tanstack/solid-router'
32
import { TanStackRouterDevtools } from '@tanstack/solid-router-devtools'
43

0 commit comments

Comments
 (0)