Skip to content

Commit bc1303c

Browse files
authored
Merge pull request #988 from objectstack-ai/copilot/fix-onboarding-dialog-close-buttons
2 parents 1351ffa + 3a5bd9e commit bc1303c

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

apps/console/src/components/OnboardingWalkthrough.tsx

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import {
2222
Star,
2323
LayoutDashboard,
2424
ArrowRight,
25-
X,
2625
} from 'lucide-react';
2726

2827
const STORAGE_KEY = 'objectui-onboarding-dismissed';
@@ -102,16 +101,10 @@ export function OnboardingWalkthrough() {
102101
<Dialog open={open} onOpenChange={(v: any) => { if (!v) dismiss(); }}>
103102
<DialogContent className="sm:max-w-md">
104103
<DialogHeader>
105-
<div className="flex items-center justify-between">
106-
<DialogTitle className="flex items-center gap-2">
107-
<Rocket className="h-5 w-5 text-primary" />
108-
Welcome to ObjectUI
109-
</DialogTitle>
110-
<Button variant="ghost" size="icon" className="h-6 w-6" onClick={dismiss}>
111-
<X className="h-4 w-4" />
112-
<span className="sr-only">Close</span>
113-
</Button>
114-
</div>
104+
<DialogTitle className="flex items-center gap-2">
105+
<Rocket className="h-5 w-5 text-primary" />
106+
Welcome to ObjectUI
107+
</DialogTitle>
115108
<DialogDescription>
116109
Let&apos;s get you started with a quick tour.
117110
</DialogDescription>

0 commit comments

Comments
 (0)