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