diff --git a/frontend/src/components/pages/Successful/Successful.tsx b/frontend/src/components/pages/Successful/Successful.tsx
index d95dea2..d06daf6 100644
--- a/frontend/src/components/pages/Successful/Successful.tsx
+++ b/frontend/src/components/pages/Successful/Successful.tsx
@@ -8,7 +8,7 @@ const Successful = () => {
-
Успешно, ожидайте ответа!
+
Form successfully submitted!
)
}
diff --git a/frontend/src/components/widgets/Header/AuthAPI.ts b/frontend/src/components/widgets/Header/AuthAPI.ts
index 481244d..800f6f0 100644
--- a/frontend/src/components/widgets/Header/AuthAPI.ts
+++ b/frontend/src/components/widgets/Header/AuthAPI.ts
@@ -78,7 +78,7 @@ export const addEvent = (e: FormEvent
) => {
const formData = new FormData(e.currentTarget);
const formProps = Object.fromEntries(formData);
console.log(formProps);
- formProps.tree = JSON.parse('{"name":"John", "age":30, "city":"New York"}');
+ formProps.tree = JSON.parse(formProps.tree);
fetch(`${API_BASE}${API_EVENT}`, {
method: "POST",