diff --git a/src/states/Dashboard/pages/Info/components/Settings/components/Delete/Delete.jsx b/src/states/Dashboard/pages/Info/components/Settings/components/Delete/Delete.jsx index cd31c27..914eb84 100644 --- a/src/states/Dashboard/pages/Info/components/Settings/components/Delete/Delete.jsx +++ b/src/states/Dashboard/pages/Info/components/Settings/components/Delete/Delete.jsx @@ -11,7 +11,7 @@ export const Delete = () => { await deleteRequest(`/project/${currentProject.id}`); await updateProjects(); } catch (e) { - console.error(e); + console.error(e.message); } } diff --git a/src/states/Dashboard/pages/Info/components/Settings/components/Key/Key.jsx b/src/states/Dashboard/pages/Info/components/Settings/components/Key/Key.jsx index a72b1c2..3df9a16 100644 --- a/src/states/Dashboard/pages/Info/components/Settings/components/Key/Key.jsx +++ b/src/states/Dashboard/pages/Info/components/Settings/components/Key/Key.jsx @@ -16,7 +16,7 @@ export const Key = () => { await postRequest(`/project/${currentProject.id}/regenerate`); await updateProjects(); } catch (e) { - console.error(e); + console.error(e.message); } } diff --git a/src/states/Dashboard/pages/Info/components/Settings/components/Name/Name.jsx b/src/states/Dashboard/pages/Info/components/Settings/components/Name/Name.jsx index 479c99b..56cd9d7 100644 --- a/src/states/Dashboard/pages/Info/components/Settings/components/Name/Name.jsx +++ b/src/states/Dashboard/pages/Info/components/Settings/components/Name/Name.jsx @@ -25,7 +25,7 @@ export const Name = () => { await updateProjects(); setNameChanged(false); } catch (e) { - console.error(e); + console.error(e.message); } }