diff --git a/frontend/my/src/ModalPreview.js b/frontend/my/src/ModalPreview.js index 39051e8..6e35e34 100644 --- a/frontend/my/src/ModalPreview.js +++ b/frontend/my/src/ModalPreview.js @@ -2,7 +2,13 @@ import React from "react" import { Modal } from "antd" import * as cs from "./constants" +import { Spin } from "antd" + class ModalPreview extends React.PureComponent { + state = { + loading: true + } + makeForm(body) { let form = document.createElement("form") form.method = cs.MethodPost @@ -27,23 +33,24 @@ class ModalPreview extends React.PureComponent { onCancel={ this.props.onCancel } onOk={ this.props.onCancel }>