Skip to content

Commit 86aab5a

Browse files
committed
fix: build error due to unknown properties in DigitalAuthorTable.stories.tsx
1 parent 6965c2a commit 86aab5a

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

src/features/digital-author/components/digital-author-table/DigitalAuthorTable.stories.tsx

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,34 +21,20 @@ export const Default: Story = {
2121
id: "1",
2222
displayName: "John Doe",
2323
systemPrompt: "You are a helpful assistant.",
24-
totalPosts: 10,
25-
numberOfFollowers: 100,
26-
lastArticle: {
27-
id: "1",
28-
title: "Article 1",
29-
createdAt: new Date("2025-01-01"),
30-
},
24+
createdAt: new Date("2025-01-01"),
3125
},
3226
{
3327
id: "2",
3428
displayName: "Jane Doe",
3529
systemPrompt:
3630
"You are a helpful assistant. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
37-
totalPosts: 20,
38-
numberOfFollowers: 200,
31+
createdAt: new Date("2025-01-02"),
3932
},
4033
{
4134
id: "3",
4235
displayName: "John Doe with a very long name",
4336
systemPrompt: "You are a helpful assistant.",
44-
totalPosts: 10,
45-
numberOfFollowers: 100,
46-
lastArticle: {
47-
id: "3",
48-
title:
49-
"My article title that is very very very very very long and will be truncated",
50-
createdAt: new Date(Date.now() - 1000 * 60 * 30),
51-
},
37+
createdAt: new Date(Date.now() - 1000 * 60 * 30),
5238
},
5339
],
5440
},

0 commit comments

Comments
 (0)