fix: skipping errorOnFetch check

This commit is contained in:
Shekar Siri 2021-05-20 14:46:37 +05:30
parent 740185a0b5
commit 5cfbbf88cd

View file

@ -18,7 +18,7 @@ import SideSection from './SideSection';
export default class ErrorInfo extends React.PureComponent {
ensureInstance() {
const { errorId, loading, errorOnFetch } = this.props;
if (!loading && !errorOnFetch &&
if (!loading &&
this.props.errorIdInStore !== errorId &&
errorId != null) {
this.props.fetch(errorId);