@@ -149,13 +159,18 @@ export function ProjectView() {
{project ? (
-
+
setGitHistoryOpen(true)}
+ onGitDialog={() => setGitDialogOpen(true)}
+ onDeploy={() => setDeployDialogOpen(true)}
+ onDuplicate={() => setDuplicateDialogOpen(true)}
+ onProjectDetails={() => setIsProjectDetailsOpen(true)}
+ isAILoading={isAILoading}
+ isAnyLoading={isAnyLoading}
+ className="text-sm"
+ />
) : (
)}
@@ -164,27 +179,13 @@ export function ProjectView() {
{project ? (
- <>
-
-
setIsProjectDetailsOpen(true)}
- isLoading={isAILoading}
- isBuildLoading={build.isPending}
- onFirstInteraction={handleFirstInteraction}
- />
- >
+
) : (
- <>
-
-
- >
+
)}
@@ -298,14 +299,38 @@ export function ProjectView() {
- {/* Project Details Dialog */}
+ {/* Dialogs */}
{project && (
-