Commit cf3b4bb2 authored by Chunchi Che's avatar Chunchi Che

make sortCardModal undraggable

parent 20ee2923
Pipeline #21064 passed with stages
in 16 minutes and 51 seconds
......@@ -21,8 +21,7 @@ import { selectSortCardModal } from "../../reducers/duel/modal/sortCardModalSlic
import { sendSortCardResponse } from "../../api/ocgcore/ocgHelper";
import { store } from "../../store";
import { resetSortCardModal } from "../../reducers/duel/mod";
import DragModal from "./dragModal";
import { Button, Card } from "antd";
import { Modal, Button, Card } from "antd";
import { CardMeta } from "../../api/cards";
import NeosConfig from "../../../neos.config.json";
......@@ -61,7 +60,7 @@ const SortCardModal = () => {
}, [options]);
return (
<DragModal
<Modal
title="请为下列卡牌排序"
open={isOpen}
closable={false}
......@@ -85,7 +84,7 @@ const SortCardModal = () => {
))}
</SortableContext>
</DndContext>
</DragModal>
</Modal>
);
};
......
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