File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 6
6
Text ,
7
7
Divider as ChakraDivider ,
8
8
Heading ,
9
- ListItem as ChakraListItem ,
10
- UnorderedList as ChakraUnorderedList ,
11
9
Icon ,
10
+ chakra ,
12
11
} from "@chakra-ui/react"
13
12
import { graphql , PageProps } from "gatsby"
14
13
import { useI18next } from "gatsby-plugin-react-i18next"
@@ -159,11 +158,7 @@ const Paragraph = (props: ChildOnlyProp) => (
159
158
)
160
159
161
160
const ListItem = ( props : ChildOnlyProp ) => (
162
- < ChakraListItem color = "text300" { ...props } />
163
- )
164
-
165
- const UnorderedList = ( props : ChildOnlyProp ) => (
166
- < ChakraUnorderedList ms = "1.45rem" { ...props } />
161
+ < chakra . li color = "text300" { ...props } />
167
162
)
168
163
169
164
const CardContainer = ( props : ChildOnlyProp ) => (
@@ -179,7 +174,6 @@ const components = {
179
174
h3 : Header3 ,
180
175
h4 : Header4 ,
181
176
p : Paragraph ,
182
- ul : UnorderedList ,
183
177
li : ListItem ,
184
178
pre : Pre ,
185
179
hr : HR ,
@@ -257,7 +251,7 @@ const StaticPage = ({
257
251
mx = "auto"
258
252
mb = { 16 }
259
253
p = { 8 }
260
- pt = { { lg : 16 } }
254
+ pt = { { base : 8 , lg : 16 } }
261
255
dir = { isRightToLeft ? "rtl" : "ltr" }
262
256
>
263
257
< PageMetadata
You can’t perform that action at this time.
0 commit comments