mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
remove api from steps
This commit is contained in:
parent
6fde6eb4cc
commit
fd49acfdf0
@ -18,8 +18,6 @@ export default class StepsForm extends React.Component {
|
|||||||
renderStep: null,
|
renderStep: null,
|
||||||
}
|
}
|
||||||
|
|
||||||
api = window.app.api.withEndpoints("main")
|
|
||||||
|
|
||||||
componentDidMount = async () => {
|
componentDidMount = async () => {
|
||||||
if (this.props.defaultValues) {
|
if (this.props.defaultValues) {
|
||||||
await this.setState({ values: this.props.defaultValues })
|
await this.setState({ values: this.props.defaultValues })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user