Commit c2e315c9 authored by timel's avatar timel

fix: my extra deck init

parent 5de3dcc7
...@@ -163,7 +163,8 @@ const WaitRoom = () => { ...@@ -163,7 +163,8 @@ const WaitRoom = () => {
await dispatch( await dispatch(
initMeExtraDeckMeta({ controler: 0, codes: deck.extra?.reverse() || [] }) initMeExtraDeckMeta({ controler: 0, codes: deck.extra?.reverse() || [] })
); );
valtioStore.matStore.extraDecks.of(0).add(deck.extra?.reverse() || []); // FIXME 直接写成了me,但不确定是不是对的
valtioStore.matStore.extraDecks.me.add(deck.extra?.reverse() || []);
setChoseDeck(true); setChoseDeck(true);
}; };
......
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