import { withTheme } from '@emotion/react';
import { QueryClient } from '@tanstack/react-query';
import { Theme } from 'design-system';
+import { isEqual } from 'lodash';
import * as React from 'react';
import { Helmet } from 'react-helmet-async';
import { injectIntl, WrappedComponentProps } from 'react-intl';
if (prevProps.extension.key !== this.props.extension.key) {
this.stopExtension();
this.startExtension();
- } else if (prevProps.location !== this.props.location) {
+ } else if (!isEqual(prevProps.location, this.props.location)) {
this.startExtension();
}
}