diff --git a/embark-ui/src/containers/AppContainer.js b/embark-ui/src/containers/AppContainer.js index cdd01c6f2..1bf0defe4 100644 --- a/embark-ui/src/containers/AppContainer.js +++ b/embark-ui/src/containers/AppContainer.js @@ -5,7 +5,7 @@ import {withRouter} from "react-router-dom"; import routes from '../routes'; import Login from '../components/Login'; import Layout from "../components/Layout"; -import { DEFAULT_HOST } from '../constants'; +import {DEFAULT_HOST} from '../constants'; import {getQueryToken, stripQueryToken} from '../utils/utils'; import { diff --git a/embark-ui/src/utils/utils.js b/embark-ui/src/utils/utils.js index 243758c5f..ac8c5857c 100644 --- a/embark-ui/src/utils/utils.js +++ b/embark-ui/src/utils/utils.js @@ -18,7 +18,8 @@ export function hashCode(str) { export function ansiToHtml(text) { const convert = new Convert(); - return convert.toHtml(text.replace(/\n/g,'
')) + return convert.toHtml(text.replace(/\n/g,'
')); +} export function getQueryToken(location) { return qs.parse(location.search, {ignoreQueryPrefix: true}).token;