Fix EditorOptionsBuilder keyboardEvents option

Fix filename typo
This commit is contained in:
Matias Arriola 2022-02-22 15:43:16 -03:00
parent 5b4134f18c
commit 2ad4d9ff10
3 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ import { ThemeProvider, Theme, StyledEngineProvider } from '@mui/material/styles
import ReactGA from 'react-ga';
import EditorPage from './components/editor-page';
import AppConfig from './classes/app-config';
import withSessionExpirationHandling from './components/hocs/withSessionExpirationHandling';
import withSessionExpirationHandling from './components/HOCs/withSessionExpirationHandling';
declare module '@mui/styles/defaultTheme' {

View File

@ -1,11 +1,11 @@
import EditorOptions from '@wisemapping/editor';
import { EditorOptions } from '@wisemapping/editor';
import AppConfig from '../../classes/app-config';
export default class EditorOptionsBulder {
static build(locale: string, hotkeys: boolean, isTryMode: boolean): { options: EditorOptions, mapId: number } {
let options: EditorOptions = {
editorKeyboardEnabled: hotkeys,
enableKeyboardEvents: hotkeys,
locale: locale,
mode: isTryMode ? 'showcase' : 'editor',
};

View File

@ -9,7 +9,7 @@ import ReactGA from 'react-ga';
import Client from '../../classes/client';
import { activeInstance } from '../../redux/clientSlice';
import { PersistenceManager } from '@wisemapping/mindplot';
import EditorOptionsBulder from './EditorOptiosBuider';
import EditorOptionsBulder from './EditorOptionsBuider';
export type EditorPropsType = {
isTryMode: boolean;