Skip to content

Commit

Permalink
Fix initial CI issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen Niblock authored and Owen Niblock committed Apr 17, 2024
1 parent bfa14b3 commit f99d1f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions theme/src/components/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ const List = styled.ul`
}
`

export const UL = ListBase
export const OL = styled(ListBase).attrs({ as: 'ol' })

Check failure on line 27 in theme/src/components/list.js

View workflow job for this annotation

GitHub Actions / CI

Replace `·as:·'ol'·` with `as:·'ol'`

export default List
6 changes: 3 additions & 3 deletions theme/src/components/wrap-root-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import HorizontalRule from './horizontal-rule'
import Image from './image'
import ImageContainer from './image-container'
import InlineCode from './inline-code'
import List from './list'
import {OL, UL} from './list'
import Note from './note'
import Paragraph from './paragraph'
import Superscript from './superscript'
Expand All @@ -37,8 +37,8 @@ const components = {
h4: H4,
h5: H5,
h6: H6,
ul: List,
ol: List.withComponent('ol'),
ul: UL,
ol: OL,
dl: DescriptionList,

// Custom components
Expand Down

0 comments on commit f99d1f3

Please sign in to comment.