diff --git a/apps/builder/app/dashboard/dashboard.stories.tsx b/apps/builder/app/dashboard/dashboard.stories.tsx index 0397552455..c6e26b1925 100644 --- a/apps/builder/app/dashboard/dashboard.stories.tsx +++ b/apps/builder/app/dashboard/dashboard.stories.tsx @@ -38,18 +38,6 @@ const userPlanFeatures: UserPlanFeatures = { maxDomainsAllowedPerUser: 1, }; -export const Empty: StoryFn = () => { - const router = createRouter( - - ); - return ; -}; - export const WithProjects: StoryFn = () => { const projects = [ { @@ -70,6 +58,7 @@ export const WithProjects: StoryFn = () => { const router = createRouter( = () => { }; export const WithTemplates: StoryFn = () => { - const projects = [ + const templates = [ { id: "0", createdAt: new Date().toString(), @@ -98,7 +87,8 @@ export const WithTemplates: StoryFn = () => { const router = createRouter( diff --git a/apps/builder/app/dashboard/dashboard.tsx b/apps/builder/app/dashboard/dashboard.tsx index e3dfc4c7ba..b1bfbfdffd 100644 --- a/apps/builder/app/dashboard/dashboard.tsx +++ b/apps/builder/app/dashboard/dashboard.tsx @@ -128,6 +128,7 @@ type DashboardProps = { user: User; projects?: Array; templates?: Array; + welcome: boolean; userPlanFeatures: UserPlanFeatures; publisherHost: string; projectToClone?: { @@ -141,6 +142,7 @@ export const Dashboard = ({ user, projects, templates, + welcome, userPlanFeatures, publisherHost, projectToClone, @@ -167,18 +169,28 @@ export const Dashboard = ({