Move current user to root folder

This commit is contained in:
Jannis Mattheis 2018-10-21 16:12:56 +02:00
parent d4d7dfefa4
commit 98f6d59c9b
5 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
import axios, {AxiosResponse} from 'axios'; import axios, {AxiosResponse} from 'axios';
import * as config from '../config'; import * as config from './config';
import {detect} from 'detect-browser'; import {detect} from 'detect-browser';
import {SnackReporter} from '../snack/SnackManager'; import {SnackReporter} from './snack/SnackManager';
import {observable} from 'mobx'; import {observable} from 'mobx';
const tokenKey = 'gotify-login-key'; const tokenKey = 'gotify-login-key';

View File

@ -1,5 +1,5 @@
import axios from 'axios'; import axios from 'axios';
import {CurrentUser} from '../stores/CurrentUser'; import {CurrentUser} from '../CurrentUser';
import {SnackReporter} from '../snack/SnackManager'; import {SnackReporter} from '../snack/SnackManager';
export const initAxios = (currentUser: CurrentUser, snack: SnackReporter) => { export const initAxios = (currentUser: CurrentUser, snack: SnackReporter) => {

View File

@ -7,7 +7,7 @@ import * as config from './config';
import Layout from './layout/Layout'; import Layout from './layout/Layout';
import registerServiceWorker from './registerServiceWorker'; import registerServiceWorker from './registerServiceWorker';
import * as Notifications from './stores/Notifications'; import * as Notifications from './stores/Notifications';
import {CurrentUser} from './stores/CurrentUser'; import {CurrentUser} from './CurrentUser';
import {AppStore} from './application/AppStore'; import {AppStore} from './application/AppStore';
import {reaction} from 'mobx'; import {reaction} from 'mobx';
import {WebSocketStore} from './message/WebSocketStore'; import {WebSocketStore} from './message/WebSocketStore';

View File

@ -2,7 +2,7 @@ import * as React from 'react';
import {UserStore} from './user/UserStore'; import {UserStore} from './user/UserStore';
import {SnackManager} from './snack/SnackManager'; import {SnackManager} from './snack/SnackManager';
import {MessagesStore} from './message/MessagesStore'; import {MessagesStore} from './message/MessagesStore';
import {CurrentUser} from './stores/CurrentUser'; import {CurrentUser} from './CurrentUser';
import {ClientStore} from './client/ClientStore'; import {ClientStore} from './client/ClientStore';
import {AppStore} from './application/AppStore'; import {AppStore} from './application/AppStore';
import {inject as mobxInject, Provider} from 'mobx-react'; import {inject as mobxInject, Provider} from 'mobx-react';

View File

@ -1,5 +1,5 @@
import {SnackReporter} from '../snack/SnackManager'; import {SnackReporter} from '../snack/SnackManager';
import {CurrentUser} from '../stores/CurrentUser'; import {CurrentUser} from '../CurrentUser';
import * as config from '../config'; import * as config from '../config';
import {MessagesStore} from './MessagesStore'; import {MessagesStore} from './MessagesStore';