Move Delete Project into ProjectInfoDialog

This commit is contained in:
Alex Gleason committed 2025-09-22 02:31:59 -05:00
1 parent 79be6c8252
commit cadebaaa0e
3 files changed
+91 -95

No files matched your search

+2 -4
View File
@@ -200,14 +200,12 @@ export function ProjectView() {
/>
<ActionsMenu
projectId={project.id}
projectName={project.name}
onNewChat={handleNewChat}
onDeploy={runDeploy}
isLoading={isAILoading}
isBuildLoading={build.isPending}
isDeployLoading={deploy.isPending}
onFirstInteraction={handleFirstInteraction}
onProjectDeleted={handleProjectDeleted}
/>
</>
) : (
@@ -330,6 +328,7 @@ export function ProjectView() {
project={project}
open={isProjectInfoOpen}
onOpenChange={setIsProjectInfoOpen}
onProjectDeleted={handleProjectDeleted}
/>
)}
</div>
@@ -406,14 +405,12 @@ export function ProjectView() {
/>
<ActionsMenu
projectId={project.id}
projectName={project.name}
onNewChat={handleNewChat}
onDeploy={runDeploy}
isLoading={isAILoading}
isBuildLoading={build.isPending}
isDeployLoading={deploy.isPending}
onFirstInteraction={handleFirstInteraction}
onProjectDeleted={handleProjectDeleted}
/>
</>
) : (
@@ -513,6 +510,7 @@ export function ProjectView() {
project={project}
open={isProjectInfoOpen}
onOpenChange={setIsProjectInfoOpen}
onProjectDeleted={handleProjectDeleted}
/>
)}
</div>