noted out 3sec pause
This commit is contained in:
@@ -4,7 +4,7 @@ import type { FormData } from "../../config/interfaces.config";
|
||||
export const submitFormData = async (data: FormData, username: string) => {
|
||||
console.warn("submitFormData is fetching!");
|
||||
|
||||
await new Promise((resolve) => setTimeout(resolve, 3000)); // Wait 3 seconds
|
||||
// await new Promise((resolve) => setTimeout(resolve, 3000)); // Wait 3 seconds
|
||||
|
||||
const response = await fetch(
|
||||
`${API_BASE}/default/new-entry?username=${username}`,
|
||||
|
||||
Reference in New Issue
Block a user