Skip to content

Commit

Permalink
Fix types on project embed
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed Apr 16, 2024
1 parent 27e634e commit 99704dd
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/routes/stories/project-embed.stories.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script context="module">
<script context="module" lang="ts">
import type { Project, ProjectMembershipList } from "$lib/api/types";
// legacy css
import "@/style/variables.css";
import "@/style/global.css";
Expand All @@ -17,7 +19,13 @@
parameters: { layout: "centered" },
};
const data = { project, documents };
const data = {
project: project as Project,
documents: documents as ProjectMembershipList,
embed: true,
me: null,
org: null,
};
</script>

<Story
Expand Down

0 comments on commit 99704dd

Please sign in to comment.