summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2025-03-07 21:28:53 +0100
committerYuval Adam <_@yuv.al>2025-03-07 21:28:53 +0100
commitd7ca848b6116fa3b5061c302eb0882696e9976ac (patch)
treea281528a391c10b388ed252403c589d625294471
parentd13a034403e8137e86cf4d300de5ddf60c2597ad (diff)
Fix numbers i nchart
-rw-r--r--src/pages/chart/ChartPage.tsx2
-rw-r--r--tsconfig.app.json14
2 files changed, 10 insertions, 6 deletions
diff --git a/src/pages/chart/ChartPage.tsx b/src/pages/chart/ChartPage.tsx
index c0526c0..784aa0d 100644
--- a/src/pages/chart/ChartPage.tsx
+++ b/src/pages/chart/ChartPage.tsx
@@ -118,7 +118,7 @@ const ChartPage = () => {
<div className="chart-section">
<h2>Numbers</h2>
<div className="morse-grid">
- {[...'0123456789'].map(char => (
+ {[...'1234567890'].map(char => (
<div key={char} className="morse-item" data-char={char}>
<div className="character">{char}</div>
<div className="morse">{getMorseCode(char)}</div>
diff --git a/tsconfig.app.json b/tsconfig.app.json
index 54d2c7b..3e8e9c9 100644
--- a/tsconfig.app.json
+++ b/tsconfig.app.json
@@ -4,10 +4,13 @@
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"target": "ES2020",
"useDefineForClassFields": true,
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
+ "lib": [
+ "ES2020",
+ "DOM",
+ "DOM.Iterable"
+ ],
"module": "ESNext",
"skipLibCheck": true,
-
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
@@ -15,7 +18,6 @@
"moduleDetection": "force",
"noEmit": true,
"jsx": "react-jsx",
-
/* Linting */
"strict": true,
"noUnusedLocals": true,
@@ -23,5 +25,7 @@
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
},
- "include": ["src"]
-}
+ "include": [
+ "src"
+ ]
+} \ No newline at end of file