Skip to content

Commit 31eb2bc

Browse files
committed
temp
1 parent 8ea70b8 commit 31eb2bc

File tree

7 files changed

+354
-52
lines changed

7 files changed

+354
-52
lines changed

apps/dashboard/.storybook/main.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,8 @@ const config: StorybookConfig = {
2727
},
2828
},
2929
staticDirs: ["../public"],
30+
features: {
31+
experimentalRSC: true,
32+
},
3033
};
3134
export default config;

apps/dashboard/src/app/login/onboarding/team-onboarding/team-onboarding.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
"use client";
22

33
import { getBillingCheckoutUrl } from "@/actions/billing";
4+
import { apiServerProxy } from "@/actions/proxies";
45
import { sendTeamInvites } from "@/actions/sendTeamInvite";
56
import type { Team } from "@/api/team";
67
import { useDashboardRouter } from "@/lib/DashboardRouter";
78
import { toast } from "sonner";
89
import type { ThirdwebClient } from "thirdweb";
910
import { upload } from "thirdweb/storage";
10-
import { apiServerProxy } from "../../../../@/actions/proxies";
1111
import { useTrack } from "../../../../hooks/analytics/useTrack";
1212
import { updateTeam } from "../../../team/[team_slug]/(team)/~/settings/general/updateTeam";
1313
import { InviteTeamMembersUI } from "./InviteTeamMembers";

apps/dashboard/src/app/team/[team_slug]/[project_slug]/components/ProjectFTUX/IntegrateAPIKeyCodeTabs.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use client";
22

3+
import { TabButtons } from "@/components/ui/tabs";
34
import { useState } from "react";
4-
import { TabButtons } from "../../../../../../@/components/ui/tabs";
55

66
type Tab = "ts" | "react" | "react-native" | "dotnet" | "unity" | "unreal";
77

@@ -13,6 +13,7 @@ export function IntegrateAPIKeyCodeTabs(props: {
1313
return (
1414
<div>
1515
<TabButtons
16+
tabClassName="!text-sm"
1617
tabs={[
1718
{
1819
name: "TypeScript",
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import type { Meta, StoryObj } from "@storybook/react";
2+
import { projectStub } from "../../../../../../stories/stubs";
3+
import { ProjectFTUX } from "./ProjectFTUX";
4+
5+
const meta = {
6+
title: "Project/ProjectFTUX",
7+
component: ProjectFTUX,
8+
decorators: [
9+
(Story) => (
10+
<div className="container py-8 pb-20">
11+
<Story />
12+
</div>
13+
),
14+
],
15+
} satisfies Meta<typeof ProjectFTUX>;
16+
17+
export default meta;
18+
type Story = StoryObj<typeof meta>;
19+
20+
export const Default: Story = {
21+
args: {
22+
project: projectStub("foo", "bar"),
23+
teamSlug: "bar",
24+
},
25+
};

0 commit comments

Comments
 (0)