king
2024-02-19 62e2946d9029a40b4406a39275c7863dccbbeadf
src/menu/datasource/verifycard/customscript/index.jsx
@@ -34,14 +34,14 @@
    const { searches } = this.props
    this.setState({
      usefulfields: getSearchFields(searches)
      usefulFields: getSearchFields(searches)
    })
  }
  UNSAFE_componentWillReceiveProps (nextProps) {
    if (!is(fromJS(this.props.searches), fromJS(nextProps.searches))) {
      this.setState({
        usefulfields: getSearchFields(nextProps.searches)
        usefulFields: getSearchFields(nextProps.searches)
      })
    }
  }