Skip to content

Commit

Permalink
ci: apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Jan 5, 2025
1 parent 317c950 commit 55ea948
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 47 deletions.
6 changes: 3 additions & 3 deletions examples/preact/basic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

## Getting Started

- `npm run dev` - Starts a dev server at http://localhost:5173/
- `npm run dev` - Starts a dev server at http://localhost:5173/

- `npm run build` - Builds for production, emitting to `dist/`
- `npm run build` - Builds for production, emitting to `dist/`

- `npm run preview` - Starts a server at http://localhost:4173/ to test production build locally
- `npm run preview` - Starts a server at http://localhost:4173/ to test production build locally
36 changes: 18 additions & 18 deletions examples/preact/basic/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"compilerOptions": {
"strictNullChecks": true,
"target": "ES2020",
"module": "ESNext",
"moduleResolution": "bundler",
"noEmit": true,
"allowJs": true,
"checkJs": true,
"compilerOptions": {
"strictNullChecks": true,
"target": "ES2020",
"module": "ESNext",
"moduleResolution": "bundler",
"noEmit": true,
"allowJs": true,
"checkJs": true,

/* Preact Config */
"jsx": "react-jsx",
"jsxImportSource": "preact",
"skipLibCheck": true,
"paths": {
"react": ["./node_modules/preact/compat/"],
"react-dom": ["./node_modules/preact/compat/"]
}
},
"include": ["node_modules/vite/client.d.ts", "**/*"]
/* Preact Config */
"jsx": "react-jsx",
"jsxImportSource": "preact",
"skipLibCheck": true,
"paths": {
"react": ["./node_modules/preact/compat/"],
"react-dom": ["./node_modules/preact/compat/"]
}
},
"include": ["node_modules/vite/client.d.ts", "**/*"]
}
6 changes: 3 additions & 3 deletions examples/preact/sorting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

## Getting Started

- `npm run dev` - Starts a dev server at http://localhost:5173/
- `npm run dev` - Starts a dev server at http://localhost:5173/

- `npm run build` - Builds for production, emitting to `dist/`
- `npm run build` - Builds for production, emitting to `dist/`

- `npm run preview` - Starts a server at http://localhost:4173/ to test production build locally
- `npm run preview` - Starts a server at http://localhost:4173/ to test production build locally
36 changes: 18 additions & 18 deletions examples/preact/sorting/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"compilerOptions": {
"strictNullChecks": true,
"target": "ES2020",
"module": "ESNext",
"moduleResolution": "bundler",
"noEmit": true,
"allowJs": true,
"checkJs": true,
"compilerOptions": {
"strictNullChecks": true,
"target": "ES2020",
"module": "ESNext",
"moduleResolution": "bundler",
"noEmit": true,
"allowJs": true,
"checkJs": true,

/* Preact Config */
"jsx": "react-jsx",
"jsxImportSource": "preact",
"skipLibCheck": true,
"paths": {
"react": ["./node_modules/preact/compat/"],
"react-dom": ["./node_modules/preact/compat/"]
}
},
"include": ["node_modules/vite/client.d.ts", "**/*"]
/* Preact Config */
"jsx": "react-jsx",
"jsxImportSource": "preact",
"skipLibCheck": true,
"paths": {
"react": ["./node_modules/preact/compat/"],
"react-dom": ["./node_modules/preact/compat/"]
}
},
"include": ["node_modules/vite/client.d.ts", "**/*"]
}
6 changes: 1 addition & 5 deletions examples/react/sorting/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ const _features = tableFeatures({
})

// custom sorting logic for one of our enum columns
const sortStatusFn: SortFn<any, any> = (
rowA,
rowB,
_columnId,
) => {
const sortStatusFn: SortFn<any, any> = (rowA, rowB, _columnId) => {
const statusA = rowA.original.status
const statusB = rowB.original.status
const statusOrder = ['single', 'complicated', 'relationship']
Expand Down

0 comments on commit 55ea948

Please sign in to comment.