Fix lot of eslint problems
This commit is contained in:
parent
5b9a0e6b34
commit
8b11c71384
17 changed files with 52 additions and 108 deletions
|
@ -8,11 +8,12 @@ import { IEditorState } from '../Interfaces/IEditorState';
|
|||
import { ISymbolModel } from '../Interfaces/ISymbolModel';
|
||||
import { Orientation } from '../Enums/Orientation';
|
||||
import { Position } from '../Enums/Position';
|
||||
import { AppState } from '../Enums/AppState';
|
||||
|
||||
/// EDITOR DEFAULTS ///
|
||||
|
||||
/** Enable fast boot and disable main menu (0 = disabled, 1 = loading, 2 = loaded) */
|
||||
export const FAST_BOOT = import.meta.env.PROD ? 2 : 0;
|
||||
export const FAST_BOOT = import.meta.env.PROD ? AppState.Loaded : AppState.MainMenu;
|
||||
|
||||
/** Disable any call to the API (default = false) */
|
||||
export const DISABLE_API = false;
|
||||
|
@ -184,7 +185,7 @@ const DEFAULT_CONTAINER_STYLE = {
|
|||
fillOpacity: 1,
|
||||
fill: 'white',
|
||||
strokeWidth: 2
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Default Main container properties
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue