event.preventdefault () в React Hook
import React, {useCallback } from "react";
const handleSubmit = useCallback((e) => {
//YOUR CODE..
e.preventDefault();
});
Zarden