From 5c7a74e6f50b1fa72ae9f881794aea146a4f43b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Tron=C3=AD=C4=8Dek?= Date: Mon, 13 Nov 2023 20:37:31 +0000 Subject: [PATCH] =?UTF-8?q?Remove=20hack,=20which=20didn't=20work=20?= =?UTF-8?q?=F0=9F=99=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/repositories/detail/general/ConfigurationName.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/dashboard/src/repositories/detail/general/ConfigurationName.tsx b/components/dashboard/src/repositories/detail/general/ConfigurationName.tsx index bf477bc45f3c4b..76cacbfbae8895 100644 --- a/components/dashboard/src/repositories/detail/general/ConfigurationName.tsx +++ b/components/dashboard/src/repositories/detail/general/ConfigurationName.tsx @@ -45,12 +45,11 @@ export const ConfigurationNameForm: FC = ({ configuration }) => { { onSuccess: () => { toast(`Configuration name set to "${projectName}".`); - setProjectName(projectName); }, }, ); }, - [nameError.isValid, updateProject, configuration.id, projectName, toast, setProjectName], + [nameError.isValid, updateProject, configuration.id, projectName, toast], ); return (