Commit 7bf462f2 authored by Chunchi Che's avatar Chunchi Che

fix

parent c0fd8f8f
......@@ -6,6 +6,6 @@ export default (win: MsgWin) => {
const { win_player, reason } = win;
matStore.result = {
isWin: matStore.isMe(win_player),
reason: fetchStrings("!victory", reason),
reason: fetchStrings("!victory", `0x${reason.toString(16)}`),
};
};
......@@ -20,7 +20,7 @@ export const CheckCounterModal = () => {
const counterName = fetchStrings(
"!counter",
`0x${snapCheckCounterModal.counterType!}`
);
); // FIXME: 这里转十六进制的逻辑有问题
const [selected, setSelected] = useState(new Array(options.length));
const sum = selected.reduce((sum, current) => sum + current, 0);
......
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