Commit 421b24df authored by chechunchi's avatar chechunchi

fix small

parent 9a22c7d7
Pipeline #22412 failed with stages
in 13 minutes and 31 seconds
...@@ -5,7 +5,7 @@ import { proxy, useSnapshot } from "valtio"; ...@@ -5,7 +5,7 @@ import { proxy, useSnapshot } from "valtio";
import { sendSelectOptionResponse } from "@/api"; import { sendSelectOptionResponse } from "@/api";
import { DragModal } from "./DragModal"; import { NeosModal } from "./NeosModal";
interface AnnounceModalProps { interface AnnounceModalProps {
isOpen: boolean; isOpen: boolean;
...@@ -30,7 +30,7 @@ export const AnnounceModal = () => { ...@@ -30,7 +30,7 @@ export const AnnounceModal = () => {
const [selected, setSelected] = useState<number[]>([]); const [selected, setSelected] = useState<number[]>([]);
return ( return (
<DragModal <NeosModal
title={title} title={title}
open={isOpen} open={isOpen}
closable={false} closable={false}
...@@ -59,7 +59,7 @@ export const AnnounceModal = () => { ...@@ -59,7 +59,7 @@ export const AnnounceModal = () => {
<CheckCard key={idx} title={option.info} value={option.response} /> <CheckCard key={idx} title={option.info} value={option.response} />
))} ))}
</CheckCard.Group> </CheckCard.Group>
</DragModal> </NeosModal>
); );
}; };
......
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