diff --git a/services/web/frontend/js/features/project-list/components/modals/rename-project-modal.tsx b/services/web/frontend/js/features/project-list/components/modals/rename-project-modal.tsx index 083c25317f..f03c12b892 100644 --- a/services/web/frontend/js/features/project-list/components/modals/rename-project-modal.tsx +++ b/services/web/frontend/js/features/project-list/components/modals/rename-project-modal.tsx @@ -50,6 +50,10 @@ function RenameProjectModal({ [newProjectName, project] ) + useEffect(() => { + setNewProjectName(project.name) + }, [project.name]) + const handleSubmit = useCallback( event => { event.preventDefault()