Skip to content

Commit

Permalink
docs: Seed test data for chromatic consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
PrettyCoffee committed Jan 7, 2025
1 parent f6ad73f commit 390da01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ui/checkbox/checkbox.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { formatTime } from "utils/format"
import { Checkbox, CheckboxProps } from "./checkbox"
import { Icon } from "../icon"

faker.seed(1334)
faker.seed(1337)

const meta: Meta<typeof Checkbox> = {
title: "Inputs/Checkbox",
Expand Down Expand Up @@ -47,7 +47,7 @@ const SubLine = () => (
size="xs"
className="mr-1"
/>
{formatTime(new Date())}
{formatTime(faker.date.anytime())}
</>
)

Expand Down
2 changes: 2 additions & 0 deletions src/components/ui/list/list.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import { argType, Meta, StoryObj } from "lib/storybook"
import { List, ListItemProps } from "./list"
import { IconButton } from "../icon-button"

faker.seed(1337)

const meta: Meta<typeof List.Item> = {
title: "Primitives/List",
component: List.Item,
Expand Down

0 comments on commit 390da01

Please sign in to comment.