feat: enhance user confirmation and data submission; add newEntry function and update MainForm to handle user selection

This commit is contained in:
2026-01-20 18:50:16 +01:00
parent 001999f21d
commit fd37e40253
5 changed files with 57 additions and 34 deletions

View File

@@ -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",