Skip to content

Commit c0b695f

Browse files
ci: apply automated fixes
1 parent 8211b64 commit c0b695f

File tree

118 files changed

+79
-253
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+79
-253
lines changed

examples/react/start-basic/src/routes/_pathlessLayout/_nested-layout/route-a.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
2-
3-
export const Route = createFileRoute(
4-
{
5-
component: LayoutAComponent,
6-
},
7-
)
1+
export const Route = createFileRoute({
2+
component: LayoutAComponent,
3+
})
84

95
function LayoutAComponent() {
106
return <div>I'm A!</div>

examples/react/start-basic/src/routes/_pathlessLayout/_nested-layout/route-b.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
2-
3-
export const Route = createFileRoute(
4-
{
5-
component: LayoutBComponent,
6-
},
7-
)
1+
export const Route = createFileRoute({
2+
component: LayoutBComponent,
3+
})
84

95
function LayoutBComponent() {
106
return <div>I'm B!</div>

examples/react/start-basic/src/routes/index.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/react/start-basic/src/routes/posts.index.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/react/start-basic/src/routes/redirect.tsx

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

33
export const Route = createFileRoute({
44
beforeLoad: async () => {

examples/react/start-basic/src/routes/users.index.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: UsersIndexComponent,
53
})

examples/react/start-large/src/routes/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import * as React from 'react'
22

3-
43
export const Route = createFileRoute({
54
component: Home,
65
})
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import * as React from 'react'
22

3-
43
export const Route = createFileRoute({
54
component: () => <div>Hello /params!</div>,
65
})

examples/react/start-large/src/routes/search/route.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import * as v from 'valibot'
32

43
const search = v.object({

examples/solid/start-bare/src/routes/about.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: RouteComponent,
53
})

0 commit comments

Comments
 (0)