Commit 102cf9fc authored by Chunchi Che's avatar Chunchi Che

fix antd warning

parent 17edc027
Pipeline #28716 passed with stages
in 10 minutes and 45 seconds
......@@ -5,5 +5,6 @@ export default function handleDuelEnd(
container: Container,
_pb: ygopro.YgoStocMsg,
) {
console.log("duel end");
container.context.matStore.duelEnd = true;
}
......@@ -127,7 +127,7 @@ export const DeckDatabase: React.FC = () => {
<Space className={styles.title} direction="horizontal">
<Input
placeholder={i18n("KeywordsPlaceholder")}
bordered={false}
variant="borderless"
suffix={
<Button
type="text"
......
......@@ -74,7 +74,7 @@ export const AnnounceModal: React.FC = () => {
<Input
className={styles.input}
placeholder="请输入宣言卡名(或关键字)"
bordered={false}
variant="borderless"
value={searchWord}
onChange={(e) => setSearchWord(e.target.value)}
suffix={
......
......@@ -39,7 +39,7 @@ export const ChatBox: React.FC = () => {
</ScrollableArea>
<div className={styles.input}>
<Input.TextArea
bordered={false}
variant="borderless"
value={input}
onChange={(event) => setInput(event.target.value)}
autoSize
......
......@@ -28,6 +28,7 @@ import {
import { useConfig } from "@/config";
import { accountStore } from "@/stores";
import { setCssProperties } from "../Duel/PlayMat/css";
import { Setting } from "../Setting";
import styles from "./index.module.scss";
import {
......@@ -40,7 +41,6 @@ import {
initSuper,
initWASM,
} from "./utils";
import { setCssProperties } from "../Duel/PlayMat/css";
const NeosConfig = useConfig();
......
......@@ -23,7 +23,7 @@ export const Chat: React.FC = () => {
</ScrollableArea>
<div className={styles.input}>
<Input.TextArea
bordered={false}
variant="borderless"
value={input}
onChange={(event) => setInput(event.target.value)}
autoSize
......
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