Skip to content

Commit 42be899

Browse files
committed
fix(react): lint checks
1 parent cf3bd97 commit 42be899

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

js/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"build": "tsc -b ./tsconfig.lib.json && vite build && npm run check:tsc && npm run build:tailwindcss",
2626
"build:tailwindcss": "npx @tailwindcss/cli -i lib/styles.css -o dist/styles.css --minify",
2727
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 && npm run check:tsc",
28-
"check:tsc": "tsc --noEmit -p tsconfig.app.json",
28+
"check:tsc": "tsc --noEmit -p tsconfig.lib.json",
2929
"preview": "vite preview"
3030
},
3131
"peerDependencies": {

js/react/showcase/ShowComponent/Field.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export function ShowComponentField({
5656
)}
5757
{def.type === "string" ? (
5858
<>
59-
{!!def.options.length ? (
59+
{def.options.length ? (
6060
<select
6161
defaultValue={def.default as string}
6262
onChange={(e) => {

0 commit comments

Comments
 (0)