Skip to content

Commit f4ce824

Browse files
ci: apply automated fixes
1 parent 78892de commit f4ce824

File tree

2 files changed

+10
-6
lines changed
  • e2e
    • react-start/server-functions/src/routes/redirect-test
    • solid-start/server-functions/src/routes/redirect-test

2 files changed

+10
-6
lines changed

e2e/react-start/server-functions/src/routes/redirect-test/index.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ import { createFileRoute, redirect } from '@tanstack/react-router'
33
import { createServerFn, useServerFn } from '@tanstack/react-start'
44
import { Suspense } from 'react'
55

6-
const $redirectServerFn = createServerFn({ method: 'GET' }).handler(async () => {
7-
throw redirect({ to: '/redirect-test/target' })
8-
})
6+
const $redirectServerFn = createServerFn({ method: 'GET' }).handler(
7+
async () => {
8+
throw redirect({ to: '/redirect-test/target' })
9+
},
10+
)
911

1012
export const Route = createFileRoute('/redirect-test/')({
1113
component: RouteComponent,

e2e/solid-start/server-functions/src/routes/redirect-test/index.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ import { createFileRoute, redirect } from '@tanstack/solid-router'
33
import { createServerFn, useServerFn } from '@tanstack/solid-start'
44
import { Suspense } from 'solid-js'
55

6-
const $redirectServerFn = createServerFn({ method: 'GET' }).handler(async () => {
7-
throw redirect({ to: '/redirect-test/target' })
8-
})
6+
const $redirectServerFn = createServerFn({ method: 'GET' }).handler(
7+
async () => {
8+
throw redirect({ to: '/redirect-test/target' })
9+
},
10+
)
911

1012
export const Route = createFileRoute('/redirect-test/')({
1113
component: RouteComponent,

0 commit comments

Comments
 (0)