Fix build errors: useCallback syntax and API module check
This commit is contained in:
@@ -35,7 +35,7 @@ export default function TransactionsPage() {
|
||||
|
||||
const converter = getDefaultConverter();
|
||||
|
||||
const handleSubmit = async (e: React.FormEvent) => {
|
||||
const handleSubmit = useCallback(async (e: React.FormEvent) => {
|
||||
e.preventDefault();
|
||||
setErrors({});
|
||||
setIsProcessing(true);
|
||||
|
||||
Reference in New Issue
Block a user