remove api from steps

This commit is contained in:
srgooglo 2022-10-21 10:58:43 +00:00
parent 6fde6eb4cc
commit fd49acfdf0

View File

@ -18,8 +18,6 @@ export default class StepsForm extends React.Component {
renderStep: null,
}
api = window.app.api.withEndpoints("main")
componentDidMount = async () => {
if (this.props.defaultValues) {
await this.setState({ values: this.props.defaultValues })