From 754266da17fa04077001b038d3f4ab51c7cb20d7 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Wed, 24 Oct 2018 14:45:22 -0500 Subject: [PATCH] formatting --- embark-ui/src/containers/AppContainer.js | 2 +- embark-ui/src/utils/utils.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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;