Last updated 1 month ago
Was this helpful?
insertUser = (event: any, user_name: any, user_email: any) => { event.preventDefault(); apiCaller('add-user.php', 'POST', { user_name, user_email }).then((res) => { event.target.reset(); }) }