From 4960dddc7dc3672cf37b2c4e5f2ff911364389b2 Mon Sep 17 00:00:00 2001 From: Bowen Lan <62091230+bowenlan-amzn@users.noreply.github.com> Date: Wed, 26 Aug 2020 15:46:35 -0700 Subject: [PATCH] remove ui/autoload/styles (#179) --- public/app.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/public/app.js b/public/app.js index 6c6727fb..4f5fea7e 100644 --- a/public/app.js +++ b/public/app.js @@ -20,7 +20,6 @@ import { uiModules } from 'ui/modules'; import { HashRouter as Router, Route } from 'react-router-dom'; import 'react-vis/dist/style.css'; -import 'ui/autoload/styles'; import './less/main.less'; import Main from './pages/Main'; import { AppContext } from './utils/AppContext'; @@ -35,7 +34,7 @@ if (darkMode) { require('@elastic/charts/dist/theme_only_light.css'); } -app.config($locationProvider => { +app.config(($locationProvider) => { $locationProvider.html5Mode({ enabled: false, requireBase: false, @@ -43,7 +42,7 @@ app.config($locationProvider => { }); }); -app.config(stateManagementConfigProvider => stateManagementConfigProvider.disable()); +app.config((stateManagementConfigProvider) => stateManagementConfigProvider.disable()); function RootController($scope, $element, $http) { const domNode = $element[0]; @@ -52,7 +51,7 @@ function RootController($scope, $element, $http) { render( -
} /> +
} /> , domNode