From f38600cc996e4508d0bb1ae254c32316c169bf69 Mon Sep 17 00:00:00 2001 From: Bruno Bernardino Date: Tue, 9 Apr 2024 14:37:43 +0100 Subject: [PATCH] Fix tsc errors, add to make test --- package.json | 2 +- src/App.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 91fc1c2..d4ad2bf 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "tauri": "tauri", "format": "biome format --write . && biome check --apply . && cd src-tauri && cargo fmt", "lint": "biome check .", - "test": "npm run lint" + "test": "npm run lint && tsc --noEmit" }, "dependencies": { "@tauri-apps/api": "1.5.3", diff --git a/src/App.tsx b/src/App.tsx index c5ad94a..5c1eb88 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -305,7 +305,7 @@ function App() { placeholder="jane.doe@example.com" autocorrect="off" autocapitalize="off" - spellcheck="false" + spellcheck={false} onInput={(event) => setNewAccountUsername(event.currentTarget.value) } @@ -340,7 +340,7 @@ function App() { placeholder="bewcloud" autocorrect="off" autocapitalize="off" - spellcheck="false" + spellcheck={false} onInput={(event) => setNewAccountName(event.currentTarget.value) }