回答編集履歴
1
変数名を修正
test
CHANGED
@@ -214,7 +214,7 @@
|
|
214
214
|
|
215
215
|
const Cell: React.FC<CellInterface> = ({ key = 0, text }) => {
|
216
216
|
|
217
|
-
const [seleted, setSelected] : [
|
217
|
+
const [selected, setSelected] : [
|
218
218
|
|
219
219
|
boolean,
|
220
220
|
|
@@ -230,7 +230,7 @@
|
|
230
230
|
|
231
231
|
key={key}
|
232
232
|
|
233
|
-
onDoubleClick={() => setSelected(!seleted)}
|
233
|
+
onDoubleClick={() => setSelected(!selected)}
|
234
234
|
|
235
235
|
defaultValue={text}
|
236
236
|
|
@@ -240,7 +240,7 @@
|
|
240
240
|
|
241
241
|
key={key}
|
242
242
|
|
243
|
-
onDoubleClick={() => setSelected(!seleted)}
|
243
|
+
onDoubleClick={() => setSelected(!selected)}
|
244
244
|
|
245
245
|
>
|
246
246
|
|