Move export dialog to async-components
This commit is contained in:
parent
7207329c15
commit
31c9e5962c
7 changed files with 28 additions and 52 deletions
|
@ -234,8 +234,7 @@ const RoomSummaryCard: React.FC<IProps> = ({ room, onClose }) => {
|
|||
};
|
||||
|
||||
const onRoomExportClick = async () => {
|
||||
const { default: ExportDialog } = await import("../dialogs/ExportDialog");
|
||||
|
||||
const { default: ExportDialog } = await import("../../../async-components/views/dialogs/ExportDialog");
|
||||
Modal.createTrackedDialog('export room dialog', '', ExportDialog, {
|
||||
room,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue