Commit 94d5f901 authored by timel's avatar timel

style: rename NewPlayMat to PlayMat

parent b31c944e
Pipeline #21962 passed with stages
in 19 minutes and 19 seconds
...@@ -13,14 +13,12 @@ import { ...@@ -13,14 +13,12 @@ import {
SortCardModal, SortCardModal,
YesNoModal, YesNoModal,
} from "./Message"; } from "./Message";
import { LifeBar, Mat, Menu } from "./NewPlayMat"; import { LifeBar, Mat, Menu } from "./PlayMat";
const NeosDuel = () => { const NeosDuel = () => {
return ( return (
<> <>
<Alert /> <Alert />
{/* <Test /> */}
{/* <Mat /> */}
<Menu /> <Menu />
<LifeBar /> <LifeBar />
<Mat /> <Mat />
......
...@@ -79,10 +79,11 @@ export const Card: FC<{ idx: number }> = React.memo(({ idx }) => { ...@@ -79,10 +79,11 @@ export const Card: FC<{ idx: number }> = React.memo(({ idx }) => {
} }
}); });
// TODO:测试和改bug
eventBus.on(Report.Chaining, (uuid: string) => { eventBus.on(Report.Chaining, (uuid: string) => {
if (uuid === state.uuid) { if (uuid === state.uuid) {
const p = chaining({ card: state, api }); // const p = chaining({ card: state, api });
animation = animation ? animation.then(() => p) : p; // animation = animation ? animation.then(() => p) : p;
} }
}); });
......
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