mirror of https://github.com/embarklabs/embark.git
formatting
This commit is contained in:
parent
a594b14f27
commit
754266da17
|
@ -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 {
|
||||
|
|
|
@ -18,7 +18,8 @@ export function hashCode(str) {
|
|||
|
||||
export function ansiToHtml(text) {
|
||||
const convert = new Convert();
|
||||
return convert.toHtml(text.replace(/\n/g,'<br>'))
|
||||
return convert.toHtml(text.replace(/\n/g,'<br>'));
|
||||
}
|
||||
|
||||
export function getQueryToken(location) {
|
||||
return qs.parse(location.search, {ignoreQueryPrefix: true}).token;
|
||||
|
|
Loading…
Reference in New Issue