Ensure that the GroupV1 Migration dialog shows

This commit is contained in:
Scott Nonnenberg 2022-07-15 14:50:02 -07:00 committed by GitHub
parent a2eac80034
commit 99d507a74d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 25 deletions

View file

@ -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>
);
};