diff options
Diffstat (limited to 'apps/web/src/components/editor-header.tsx')
| -rw-r--r-- | apps/web/src/components/editor-header.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/web/src/components/editor-header.tsx b/apps/web/src/components/editor-header.tsx index 45414ecc..a04af269 100644 --- a/apps/web/src/components/editor-header.tsx +++ b/apps/web/src/components/editor-header.tsx @@ -45,8 +45,7 @@ export function EditorHeader() { if (activeProject && newName.trim() && newName !== activeProject.name) {
try {
await renameProject(activeProject.id, newName.trim());
- }
- catch (error) {
+ }catch (error) {
console.error('Failed to rename project:', error);
// Reset to original name on error
setNewName(activeProject.name);
|
