Ensure that the GroupV1 Migration dialog shows
This commit is contained in:
parent
a2eac80034
commit
99d507a74d
3 changed files with 4 additions and 25 deletions
|
@ -6,7 +6,6 @@ import { Provider } from 'react-redux';
|
|||
|
||||
import type { Store } from 'redux';
|
||||
|
||||
import { ModalHost } from '../../components/ModalHost';
|
||||
import type { PropsType } from '../smart/GroupV1MigrationDialog';
|
||||
import { SmartGroupV1MigrationDialog } from '../smart/GroupV1MigrationDialog';
|
||||
|
||||
|
@ -14,13 +13,9 @@ export const createGroupV1MigrationModal = (
|
|||
store: Store,
|
||||
props: PropsType
|
||||
): React.ReactElement => {
|
||||
const { onClose } = props;
|
||||
|
||||
return (
|
||||
<Provider store={store}>
|
||||
<ModalHost onClose={onClose}>
|
||||
<SmartGroupV1MigrationDialog {...props} />
|
||||
</ModalHost>
|
||||
<SmartGroupV1MigrationDialog {...props} />
|
||||
</Provider>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue