質問編集履歴

1

載せたソースコードに改行が入ってなさ過ぎて見づらかったので、少し改行を入れて見やすくしました。

2019/08/19 08:21

投稿

nerianighthawk
nerianighthawk

スコア544

test CHANGED
File without changes
test CHANGED
@@ -92,7 +92,11 @@
92
92
 
93
93
  const [mail, setMail] = useState('')
94
94
 
95
+
96
+
95
97
  useEffect(() => getUserParam(setUserId, setMail), [])
98
+
99
+
96
100
 
97
101
  const paramList = [
98
102
 
@@ -101,6 +105,8 @@
101
105
  createForm(KEY_MAIL, FORM_MAIL, 'text', mail, setMail)
102
106
 
103
107
  ] as InputForm<User>[]
108
+
109
+
104
110
 
105
111
  const userForm = paramList.map(param => (
106
112