fix modal module selection (thanks doggybootsy)

pull/88/head
dperolio 3 years ago
parent 996a8568d5
commit e3484afd85

@ -7,7 +7,7 @@ import { getModule, modal } from '@vizality/webpack';
import { deprecate } from '@vizality/util/logger';
import React from 'react';
const { closeModal: closeNewModal, openModal: openNewModal } = getModule('openModal');
const { closeModal: closeNewModal, openModal: openNewModal } = getModule('openModal', 'openModalLazy');
/**
* Opens a new modal.

Loading…
Cancel
Save