Merge pull request 'Removed application entrypoint trash.' (#26) from fix/app-trash into develop
Reviewed-on: http://85.143.176.51:3000/free-land/front-end/pulls/26
This commit is contained in:
commit
27279f686d
29
src/App.tsx
29
src/App.tsx
@ -1,22 +1,7 @@
|
|||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
/* Libraries */
|
/* Libraries */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
import React, { useEffect } from "react";
|
import React from "react";
|
||||||
import { BrowserRouter as Router } from "react-router-dom";
|
|
||||||
import { Provider } from "react-redux";
|
|
||||||
/* -------------------------------------------------------------------------- */
|
|
||||||
/* Parts */
|
|
||||||
/* -------------------------------------------------------------------------- */
|
|
||||||
import AppHotKeys from "ui/views/HotKeys";
|
|
||||||
import AppLoader from "components/parts/Loader";
|
|
||||||
import GlobalSearchbar from "ui/views/GlobalSearch";
|
|
||||||
/* -------------------------------------------------------------------------- */
|
|
||||||
/* Misc */
|
|
||||||
/* -------------------------------------------------------------------------- */
|
|
||||||
import { store } from "store/store";
|
|
||||||
import routes from "routes";
|
|
||||||
import RoutesRenderer from "components/RoutesRenderer";
|
|
||||||
import NotificationsField from "ui/views/NotificationsField";
|
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
/* Application root component */
|
/* Application root component */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
@ -26,17 +11,7 @@ import NotificationsField from "ui/views/NotificationsField";
|
|||||||
*/
|
*/
|
||||||
function App() {
|
function App() {
|
||||||
return (
|
return (
|
||||||
<Provider store={store} >
|
<div>Hello world!</div>
|
||||||
<AppHotKeys>
|
|
||||||
<React.Suspense fallback={<AppLoader />}>
|
|
||||||
<Router>
|
|
||||||
<RoutesRenderer routes={routes} />
|
|
||||||
</Router>
|
|
||||||
<GlobalSearchbar />
|
|
||||||
<NotificationsField />
|
|
||||||
</React.Suspense>
|
|
||||||
</AppHotKeys>
|
|
||||||
</Provider>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user