Commit efb0ed16 authored by Clement Ho's avatar Clement Ho

Code improvements and fix bad conflict merge

parent 827761c1
...@@ -234,8 +234,6 @@ import Activities from './activities'; ...@@ -234,8 +234,6 @@ import Activities from './activities';
.then(callDefault) .then(callDefault)
.catch(fail); .catch(fail);
break; break;
case 'dashboard:projects:index':
case 'dashboard:projects:starred':
case 'admin:projects:index': case 'admin:projects:index':
new ProjectsList(); new ProjectsList();
break; break;
......
import ProjectsList from '~/projects_list'; import ProjectsList from '~/projects_list';
export default function () { export default () => new ProjectsList();
new ProjectsList(); // eslint-disable-line no-new
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment