Skip to content

Commit

Permalink
test: reuse Newsletter stories args
Browse files Browse the repository at this point in the history
  • Loading branch information
hollandjg committed Oct 13, 2023
1 parent 8029260 commit e57665b
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Meta, StoryObj } from "@storybook/react"
import { ProjectDetail } from "./ProjectDetail"
import * as ProjectTeamStories from "./ProjectTeam.stories"
import { emptyGatsbyImageData } from "./Story.utilities"
import * as NewsletterStories from "./Newsletter.stories"
import { contactImage, contactImageYogi } from "./Contact.stories"

const meta: Meta<typeof ProjectDetail> = {
Expand Down Expand Up @@ -42,10 +42,7 @@ export const Primary: Story = {
ongoingText: "This project is ongoing.",
completeText: "This project is complete.",

newsletter: {
link: "https://ccv.brown.edu",
text: "Subscribe for project portal updates",
},
newsletter: NewsletterStories.Primary.args,

projectTeam: ProjectTeamStories.Primary.args.contacts,

Expand Down

0 comments on commit e57665b

Please sign in to comment.