yosupo06 / library-checker-frontend

https://judge.yosupo.jp/
Apache License 2.0
12 stars 10 forks source link

submit連打による多重提出の防止 #159

Closed hotman78 closed 1 year ago

hotman78 commented 1 year ago

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