Commit cb5d129e authored by Chunchi Che's avatar Chunchi Che

fix

parent a4ce41af
Pipeline #20562 passed with stages
in 6 minutes and 31 seconds
import { ygopro } from "../../api/ocgcore/idl/ocgcore";
import { setResult } from "../../reducers/duel/mod";
import { AppDispatch } from "../../store";
export default (win: ygopro.StocGameMessage.MsgWin, dispatch: AppDispatch) => {
console.log(win);
dispatch(setResult(win.type_));
};
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