Commit 7a7e5281 authored by timel's avatar timel Committed by Chunchi Che

fix: remove log

parent 05e8030a
......@@ -41,14 +41,6 @@ export default (selectIdleCmd: MsgSelectIdleCmd) => {
interactType,
response: data.response,
});
console.log(
"idleTypeToInteractType",
cardStore.at(location, player)[sequence],
{
location: ygopro.CardZone[location],
sequence,
}
);
cardStore.at(location, player)[sequence].idleInteractivities.push({
...tmp,
interactType,
......
......@@ -41,14 +41,16 @@ export const HintNotification = () => {
useEffect(() => {
if (currentPhase) {
const message = fetchStrings(
"!system",
Phase2StringCodeMap.get(currentPhase) ?? 0
);
api.open({
message: fetchStrings(
"!system",
Phase2StringCodeMap.get(currentPhase) ?? 0
),
message,
placement: "topRight",
style: style,
});
console.log(message);
}
}, [currentPhase]);
......
import React, { useEffect, type CSSProperties, type FC, useState } from "react";
import { cardStore, messageStore, CardType } from "@/stores";
import "./index.scss";
import { useSnapshot, subscribe } from "valtio";
import { subscribeKey } from "valtio/utils";
import { watch } from "valtio/utils";
import { useSnapshot } from "valtio";
import { useSpring, animated, to } from "@react-spring/web";
import { ygopro } from "@/api";
import { useConfig } from "@/config";
......
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