File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
/* eslint-disable react/jsx-key */
2
2
import { TwImage } from "@/components/Image"
3
- import OrderedList from "@/components/OrderedList"
4
3
import Translation from "@/components/Translation"
5
4
import { Center } from "@/components/ui/flex"
6
5
6
+ import { ListItem , OrderedList } from "../ui/list"
7
+
7
8
import image from "@/public/images/hackathon_transparent.png"
8
9
9
10
const StakingHowSoloWorks = ( ) => {
@@ -27,7 +28,11 @@ const StakingHowSoloWorks = () => {
27
28
28
29
return (
29
30
< Center className = "flex-col justify-between md:flex-row" >
30
- < OrderedList listData = { items } />
31
+ < OrderedList >
32
+ { items . map ( ( item , index ) => (
33
+ < ListItem key = { index } > { item } </ ListItem >
34
+ ) ) }
35
+ </ OrderedList >
31
36
< TwImage src = { image } alt = "" width = { 400 } />
32
37
</ Center >
33
38
)
You can’t perform that action at this time.
0 commit comments