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';
.then(callDefault)
.catch(fail);
break;
case 'dashboard:projects:index':
case 'dashboard:projects:starred':
case 'admin:projects:index':
new ProjectsList();
break;
......
import ProjectsList from '~/projects_list';
export default function () {
new ProjectsList(); // eslint-disable-line no-new
}
export default () => new ProjectsList();
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