mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
fixed imports
This commit is contained in:
parent
23c9e42bd5
commit
103097edbd
50 changed files with 260 additions and 229 deletions
|
@ -1,4 +1,4 @@
|
|||
import * as React from 'react';
|
||||
import React, { createElement } from 'react';
|
||||
import { MODES } from '$constants/modes';
|
||||
|
||||
import { RouterDialog } from '$components/dialogs/RouterDialog';
|
||||
|
@ -52,7 +52,7 @@ const DIALOG_CONTENTS: { [x: string]: any } = {
|
|||
|
||||
export const Component = (props: Props) =>
|
||||
props.mode && DIALOG_CONTENTS[props.mode]
|
||||
? React.createElement(DIALOG_CONTENTS[props.mode])
|
||||
? createElement(DIALOG_CONTENTS[props.mode])
|
||||
: null;
|
||||
|
||||
export const EditorDialog = connect(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue