Commit 95e5da5f authored by Chunchi Che's avatar Chunchi Che

fix small

parent 564b5d13
Pipeline #22616 passed with stages
in 12 minutes and 29 seconds
......@@ -48,6 +48,10 @@ const ReplayModal: React.FC = () => {
);
await rustInit(url);
// 初始化额外卡组
// FIXME: 这样写肯定不对
window.myExtraDeckCodes = [];
// 连接回放websocket服务
socketMiddleWare({
cmd: socketCmd.CONNECT,
......@@ -67,9 +71,6 @@ const ReplayModal: React.FC = () => {
// 初始化文案
await initStrings();
// 初始化额外卡组
window.myExtraDeckCodes = [];
// 跳转
navigate(`/duel/neos/replay/${NeosConfig.replayUrl}`);
}
......
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