diff --git a/packages/components/src/templates/next/components/native/ListItem/ListItem.tsx b/packages/components/src/templates/next/components/native/ListItem/ListItem.tsx index eea6d98a9..10a8284b3 100644 --- a/packages/components/src/templates/next/components/native/ListItem/ListItem.tsx +++ b/packages/components/src/templates/next/components/native/ListItem/ListItem.tsx @@ -5,7 +5,7 @@ import UnorderedList from "../UnorderedList" const ListItem = ({ content }: ListItemProps) => { return ( -
  • +
  • {content.map((item, index) => { if (item.type === "paragraph") { return diff --git a/packages/components/src/templates/next/components/native/OrderedList/OrderedList.stories.tsx b/packages/components/src/templates/next/components/native/OrderedList/OrderedList.stories.tsx index 67b024286..ddde32946 100644 --- a/packages/components/src/templates/next/components/native/OrderedList/OrderedList.stories.tsx +++ b/packages/components/src/templates/next/components/native/OrderedList/OrderedList.stories.tsx @@ -97,11 +97,6 @@ export const Nested: Story = { type: "listItem", content: [ { type: "paragraph", content: [{ type: "text", text: "Item 2" }] }, - ], - }, - { - type: "listItem", - content: [ { type: "orderedList", attrs: { @@ -124,11 +119,6 @@ export const Nested: Story = { type: "paragraph", content: [{ type: "text", text: "Item 4" }], }, - ], - }, - { - type: "listItem", - content: [ { type: "unorderedList", content: [ diff --git a/packages/components/src/templates/next/components/native/UnorderedList/UnorderedList.stories.tsx b/packages/components/src/templates/next/components/native/UnorderedList/UnorderedList.stories.tsx index 1b2c4b1ff..e3375ae12 100644 --- a/packages/components/src/templates/next/components/native/UnorderedList/UnorderedList.stories.tsx +++ b/packages/components/src/templates/next/components/native/UnorderedList/UnorderedList.stories.tsx @@ -97,11 +97,6 @@ export const Nested: Story = { type: "listItem", content: [ { type: "paragraph", content: [{ type: "text", text: "Item 2" }] }, - ], - }, - { - type: "listItem", - content: [ { type: "unorderedList", content: [ @@ -121,11 +116,6 @@ export const Nested: Story = { type: "paragraph", content: [{ type: "text", text: "Item 4" }], }, - ], - }, - { - type: "listItem", - content: [ { type: "orderedList", attrs: { diff --git a/packages/components/src/templates/next/layouts/Content/Content.stories.tsx b/packages/components/src/templates/next/layouts/Content/Content.stories.tsx index a0f3f8739..9eb6786d7 100644 --- a/packages/components/src/templates/next/layouts/Content/Content.stories.tsx +++ b/packages/components/src/templates/next/layouts/Content/Content.stories.tsx @@ -190,11 +190,6 @@ export const Default: Story = { }, ], }, - ], - }, - { - type: "listItem", - content: [ { type: "unorderedList", content: [ @@ -210,11 +205,6 @@ export const Default: Story = { }, ], }, - ], - }, - { - type: "listItem", - content: [ { type: "unorderedList", content: [ @@ -236,11 +226,6 @@ export const Default: Story = { type: "paragraph", content: [{ type: "text", text: "Spam" }], }, - ], - }, - { - type: "listItem", - content: [ { type: "unorderedList", content: [ @@ -1199,11 +1184,6 @@ export const NoTable: Story = { }, ], }, - ], - }, - { - type: "listItem", - content: [ { type: "unorderedList", content: [ @@ -1219,11 +1199,6 @@ export const NoTable: Story = { }, ], }, - ], - }, - { - type: "listItem", - content: [ { type: "unorderedList", content: [ @@ -1245,11 +1220,6 @@ export const NoTable: Story = { type: "paragraph", content: [{ type: "text", text: "Spam" }], }, - ], - }, - { - type: "listItem", - content: [ { type: "unorderedList", content: [ @@ -1597,11 +1567,6 @@ export const SmallTable: Story = { }, ], }, - ], - }, - { - type: "listItem", - content: [ { type: "unorderedList", content: [ @@ -1617,11 +1582,6 @@ export const SmallTable: Story = { }, ], }, - ], - }, - { - type: "listItem", - content: [ { type: "unorderedList", content: [ @@ -1643,11 +1603,6 @@ export const SmallTable: Story = { type: "paragraph", content: [{ type: "text", text: "Spam" }], }, - ], - }, - { - type: "listItem", - content: [ { type: "unorderedList", content: [