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