We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b43a55e commit 1923615Copy full SHA for 1923615
src/screens/Main.tsx
@@ -1,7 +1,6 @@
1
import React from 'react';
2
import { Route, Switch, Link, Redirect } from 'react-router-dom';
3
import { Layout } from 'antd';
4
-import { observer } from 'mobx-react';
5
6
import ProjectsScreen from './projects/ProjectsScreen';
7
import TaskControl from '../components/TaskControl/TaskControl';
@@ -11,7 +10,7 @@ import Dashboard from './dashboard/Dashboard';
11
10
12
const { Header } = Layout;
13
14
-export default observer(function Main() {
+const Main = () => {
15
return (
16
<Layout className="layout">
17
<Header>
@@ -35,4 +34,6 @@ export default observer(function Main() {
35
34
</Switch>
36
</Layout>
37
);
38
-});
+};
+
39
+export default Main;
0 commit comments