From ace0e9c56fbb97f8fbcead74126f49d40b498b1b Mon Sep 17 00:00:00 2001 From: Vladyslav Matsiiako Date: Tue, 7 Feb 2023 16:54:13 -0800 Subject: [PATCH] Fixed the bug of wrong data structure --- .../views/Settings/ProjectSettingsPage/ProjectSettingsPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/Settings/ProjectSettingsPage/ProjectSettingsPage.tsx b/frontend/src/views/Settings/ProjectSettingsPage/ProjectSettingsPage.tsx index 6de068ec5..9c08e2bcd 100644 --- a/frontend/src/views/Settings/ProjectSettingsPage/ProjectSettingsPage.tsx +++ b/frontend/src/views/Settings/ProjectSettingsPage/ProjectSettingsPage.tsx @@ -228,7 +228,7 @@ export const ProjectSettingsPage = () => { text: 'Successfully created a tag', type: 'success' }); - return res?.data?.name; + return res.name; } catch (error) { console.error(error); createNotification({