Closed hotman78 closed 1 year ago
submit 連打による多重提出の防止です。 login処理、profileの更新処理、登録処理にも似たようなコードがありましたが、とりあえず直していません(直すのは必要であればすぐに可能です) https://github.com/yosupo06/library-checker-frontend/blob/39781c272be176d27d17695a39d8dec1789dc5e4/src/pages/Login.tsx#L20 https://github.com/yosupo06/library-checker-frontend/blob/39781c272be176d27d17695a39d8dec1789dc5e4/src/pages/Register.tsx#L22 https://github.com/yosupo06/library-checker-frontend/blob/39781c272be176d27d17695a39d8dec1789dc5e4/src/pages/Profile.tsx#L59
128
submit 連打による多重提出の防止です。 login処理、profileの更新処理、登録処理にも似たようなコードがありましたが、とりあえず直していません(直すのは必要であればすぐに可能です) https://github.com/yosupo06/library-checker-frontend/blob/39781c272be176d27d17695a39d8dec1789dc5e4/src/pages/Login.tsx#L20 https://github.com/yosupo06/library-checker-frontend/blob/39781c272be176d27d17695a39d8dec1789dc5e4/src/pages/Register.tsx#L22 https://github.com/yosupo06/library-checker-frontend/blob/39781c272be176d27d17695a39d8dec1789dc5e4/src/pages/Profile.tsx#L59