Skip to content

Commit 897076a

Browse files
t3dotggclaude
andcommitted
fix(mobile): clear the name after a created project is slow to sync
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 parent 996c810 commit 897076a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎apps/mobile/src/features/projects/AddProjectScreen.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,6 +1002,8 @@ export function AddProjectNewScreen(props: { readonly environmentId?: string | s
10021002
15_000,
10031003
);
10041004
if (project === null) {
1005+
// The project exists, so clearing the name keeps Create from making a `-2` copy.
1006+
setName("");
10051007
setError(
10061008
"The project was created but has not reached this device yet. It will appear in the project list once the connection catches up.",
10071009
);

0 commit comments

Comments
 (0)