Commit 21a9fd64 authored by hewenhao's avatar hewenhao

feat: update

parent bf8c6765
...@@ -127,7 +127,7 @@ const GameCompleteHead = () => { ...@@ -127,7 +127,7 @@ const GameCompleteHead = () => {
const text = useMemo(() => { const text = useMemo(() => {
const { text: _text, second, color } = getLevelText(gameResult?.level) const { text: _text, second, color } = getLevelText(gameResult?.level)
if (getWeight(gameResult?.levelBefore) < getWeight(gameResult?.level)) { if (gameResult?.levelBefore !== null) {
return { text: second, color } return { text: second, color }
} }
return { text: _text, color } return { text: _text, color }
......
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