Updated the DesignItem.jsx
This commit is contained in:
parent
e8870b6723
commit
6518b5c959
@ -1,5 +1,4 @@
|
||||
import CoinImage from "@/common/images/coin.png";
|
||||
import DesignImage from "@/common/images/design.png";
|
||||
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";
|
||||
import "./styles.sass";
|
||||
import {useContext, useEffect, useState} from "react";
|
||||
@ -7,7 +6,7 @@ import {ChannelContext} from "@/states/Manage/pages/Channels/contexts/ChannelCon
|
||||
import {useParams} from "react-router-dom";
|
||||
import {patchRequest} from "@/common/util/RequestUtil.js";
|
||||
|
||||
export const DesignItem = ({id, name, coins, perks = [], active}) => {
|
||||
export const DesignItem = ({id, name, coins, perks = [], image}) => {
|
||||
|
||||
const params = useParams();
|
||||
const {channels, getChannelById, updateChannels} = useContext(ChannelContext);
|
||||
@ -43,7 +42,7 @@ export const DesignItem = ({id, name, coins, perks = [], active}) => {
|
||||
</div>))}
|
||||
</div>
|
||||
</div>
|
||||
<img src={DesignImage} alt="Design"/>
|
||||
<img src={image} alt="Design"/>
|
||||
</div>
|
||||
)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user