Skip to content

Commit 587db4c

Browse files
committed
Remove unnecessary files
1 parent 360f9fd commit 587db4c

File tree

2 files changed

+606
-584
lines changed

2 files changed

+606
-584
lines changed

apps/web/client/src/app/project/[id]/_hooks/use-start-project.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ export const useStartProject = () => {
3838
});
3939
const { mutateAsync: trackProjectAccess } = api.project.trackAccess.useMutation({
4040
onSuccess: () => {
41-
// Invalidate project list to refresh recent projects
4241
apiUtils.project.list.invalidate();
4342
},
4443
});
@@ -47,7 +46,6 @@ export const useStartProject = () => {
4746
if (project) {
4847
startSandbox(project);
4948
editorEngine.screenshot.lastScreenshotAt = project.metadata.updatedPreviewImgAt;
50-
// Track project access to update "recent projects" list
5149
trackProjectAccess({ projectId: project.id }).catch(console.error);
5250
}
5351
}, [project, trackProjectAccess]);

0 commit comments

Comments
 (0)