fix #278 error at startup (#279)

This commit is contained in:
Kumar Uttpal 2017-01-24 21:39:14 +05:30 committed by Cassie Tarakajian
parent 437f94649f
commit 697458a7ef

View file

@ -1,8 +1,7 @@
import * as ActionTypes from '../../../constants'; import * as ActionTypes from '../../../constants';
import axios from 'axios'; import axios from 'axios';
import { setPreviousPath } from './ide'; import { showAuthenticationError, setPreviousPath } from './ide';
import { resetProject } from './project'; import { resetProject } from './project';
import { showAuthenticationError } from './ide';
const ROOT_URL = location.href.indexOf('localhost') > 0 ? 'http://localhost:8000/api' : '/api'; const ROOT_URL = location.href.indexOf('localhost') > 0 ? 'http://localhost:8000/api' : '/api';