Fixed the bug of wrong data structure

This commit is contained in:
Vladyslav Matsiiako
2023-02-07 16:54:13 -08:00
parent 498705f330
commit ace0e9c56f

View File

@@ -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({