Commit ba41deda authored by raca's avatar raca

feat: 接收pk段位字段显示

parent 2156b032
......@@ -9,6 +9,7 @@ import { badgeImages } from '../battles/const'
import styles from './index.module.scss'
import TopHeader from './components/top-header'
import ModalName from './components/modal-name'
import { rankTranslate } from '../battles/utils'
const AcceptPk = () => {
const [isVisible, { setTrue, setFalse }] = useBoolean(false)
......@@ -110,7 +111,7 @@ const AcceptPk = () => {
className={styles.badgeIcon}
/>
<Text className={styles.rankText}>
{details?.userRanks.level}
{rankTranslate(details?.userRanks.level)}
</Text>
</View>
<Text>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment