fix: hide cancel button on first-launch onboarding

Add isFirstLaunch check to cancel button visibility so it only shows
when user is creating additional companies, not during initial setup.
This commit is contained in:
ZacharyZhang-NY committed 2026-03-27 22:34:52 -04:00
1 parent 0a0b2fdce4
commit 259c0a279d
1 file changed
+1 -1
@@ -201,7 +201,7 @@ export function CompanyOnboarding({
<div className="min-h-0 overflow-y-auto border-l border-border bg-background">
<div className="relative flex min-h-full items-center px-6 py-10 md:px-10">
{canCancel && onCancel ? (
{canCancel && onCancel && !isFirstLaunch ? (
<button
type="button"
onClick={onCancel}