Skip to content

Commit

Permalink
fix(types): removing unnecessary types for the generic list utility (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mateoguzmana authored Sep 3, 2024
1 parent d76fc54 commit c31b26a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/spectacle/src/components/slide-layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const Ul = ({
type = 'unordered',
animate = false,
listProps
}: (typeof UnorderedList | typeof OrderedList) & {
}: {
items: ReactNode[];
type?: 'unordered' | 'ordered';
animate?: boolean;
Expand Down Expand Up @@ -105,7 +105,6 @@ const List = ({
{title}
</Heading>
) : null}
{/* @ts-ignore TODO: Resolve this in follow-up */}
<Ul
items={items}
animate={animateListItems}
Expand Down Expand Up @@ -448,7 +447,6 @@ const VerticalImage = ({
height={'100%'}
>
<FlexBox justifyContent="start">
{/* @ts-ignore TODO: Resolve this in follow-up */}
<Ul
items={listItems}
animate={animateListItems}
Expand Down

0 comments on commit c31b26a

Please sign in to comment.