Commit 220041bd authored by Chunchi Che's avatar Chunchi Che

update cardListModal.tsx

parent fff94394
Pipeline #20605 passed with stages
in 6 minutes and 39 seconds
......@@ -9,7 +9,7 @@ import {
clearAllIdleInteractivities,
setCardListModalIsOpen,
} from "../../reducers/duel/mod";
import { Modal, List, Button } from "antd";
import { Drawer, List, Button } from "antd";
import { sendSelectIdleCmdResponse } from "../../api/ocgcore/ocgHelper";
const CARD_WIDTH = 100;
......@@ -24,7 +24,7 @@ const CardListModal = () => {
};
return (
<Modal open={isOpen} onOk={handleOkOrCancel} onCancel={handleOkOrCancel}>
<Drawer open={isOpen} onClose={handleOkOrCancel}>
<List
itemLayout="horizontal"
dataSource={list}
......@@ -55,7 +55,7 @@ const CardListModal = () => {
</List.Item>
)}
></List>
</Modal>
</Drawer>
);
};
......
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