Skip to content

Commit 6f32364

Browse files
ci: apply automated fixes
1 parent ef60ad8 commit 6f32364

File tree

6 files changed

+6
-11
lines changed

6 files changed

+6
-11
lines changed

examples/solid/start-basic-auth/src/components/Auth.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { JSX } from "solid-js"
1+
import type { JSX } from 'solid-js'
22

33
export function Auth({
44
actionText,
@@ -16,7 +16,7 @@ export function Auth({
1616
<div class="bg-white dark:bg-gray-900 p-8 rounded-lg shadow-lg">
1717
<h1 class="text-2xl font-bold mb-4">{actionText}</h1>
1818
<form
19-
onSubmit={(e:any) => {
19+
onSubmit={(e: any) => {
2020
e.preventDefault()
2121
onSubmit(e)
2222
}}

examples/solid/start-basic-auth/src/routes/__root.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import {
99
import { TanStackRouterDevtools } from '@tanstack/solid-router-devtools'
1010
import { createServerFn } from '@tanstack/solid-start'
1111

12-
import { HydrationScript } from 'solid-js/web';
13-
import type {JSX} from 'solid-js';
12+
import { HydrationScript } from 'solid-js/web'
13+
import type { JSX } from 'solid-js'
1414

1515
import { DefaultCatchBoundary } from '~/components/DefaultCatchBoundary.js'
1616
import { NotFound } from '~/components/NotFound.js'
@@ -42,7 +42,7 @@ export const Route = createRootRoute({
4242
head: () => ({
4343
meta: [
4444
{
45-
"charset": 'utf-8',
45+
charset: 'utf-8',
4646
},
4747
{
4848
name: 'viewport',

examples/solid/start-basic-auth/src/routes/_authed/posts.$postId.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ export const Route = createFileRoute('/_authed/posts/$postId')({
1717
},
1818
})
1919

20-
21-
2220
function PostComponent() {
2321
const post = Route.useLoaderData()
2422

examples/solid/start-basic-auth/src/routes/_authed/posts.index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ function PostsIndexComponent() {
77
export const Route = createFileRoute('/_authed/posts/')({
88
component: PostsIndexComponent,
99
})
10-

examples/solid/start-basic-auth/src/routes/_authed/posts.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ function PostsComponent() {
3333
)
3434
}
3535

36-
3736
export const Route = createFileRoute('/_authed/posts')({
3837
loader: () => fetchPosts(),
3938
component: PostsComponent,
4039
})
41-

examples/solid/start-basic-auth/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ export default defineConfig({
99
projects: ['./tsconfig.json'],
1010
}),
1111
tanstackStart(),
12-
viteSolid({ssr: true}),
12+
viteSolid({ ssr: true }),
1313
],
1414
})

0 commit comments

Comments
 (0)