Skip to content

Commit

Permalink
[fix]不要な削除関数の削除
Browse files Browse the repository at this point in the history
  • Loading branch information
Kubosaka committed Mar 7, 2024
1 parent 6476b98 commit 19cffbb
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,6 @@ export default function AddModal(props: ModalProps) {
const [isDone, setIsDone] = useState<boolean>(false);
const router = useRouter();

const deletePurchaseOrder = async () => {
const deletePurchaseOrderUrl =
process.env.CSR_API_URI + '/purchaseorders/' + props.formDataList[0].purchaseOrderID;
await del(deletePurchaseOrderUrl);
};

const handler =
(stepNumber: number, input: string) =>
(e: React.ChangeEvent<HTMLSelectElement> | React.ChangeEvent<HTMLInputElement>) => {
Expand Down Expand Up @@ -257,7 +251,6 @@ export default function AddModal(props: ModalProps) {
<div className={clsx('mr-5 grid w-full justify-items-end')}>
<CloseButton
onClick={() => {
deletePurchaseOrder();
props.onClose();
props.numModalOnClose();
}}
Expand Down

0 comments on commit 19cffbb

Please sign in to comment.