chore: FormEvent -> SubmitEvent
This commit is contained in:
@@ -135,7 +135,7 @@ function PostPage({ bbsId }: { bbsId: string }) {
|
||||
refetch();
|
||||
};
|
||||
|
||||
const handleSubmit = (e: React.FormEvent<HTMLFormElement>) => {
|
||||
const handleSubmit = (e: React.SubmitEvent<HTMLFormElement>) => {
|
||||
e.preventDefault();
|
||||
refetch();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user