feat: enhance user confirmation and data submission; add newEntry function and update MainForm to handle user selection
This commit is contained in:
@@ -95,7 +95,7 @@ export const MainForm = () => {
|
||||
const handleSubmit = async () => {
|
||||
setIsLoading(true);
|
||||
try {
|
||||
const result = await submitFormData(formData);
|
||||
const result = await submitFormData(formData, selectedUser || "");
|
||||
if (result.success) {
|
||||
setMsg({
|
||||
type: "success",
|
||||
|
||||
Reference in New Issue
Block a user