Removed experimental feature flag unsed depenecy for profiles/preferences

This commit is contained in:
Constance Okoghenun 2018-01-11 12:21:19 +01:00
parent 5d58766fdc
commit 7d0a1285a1
2 changed files with 3 additions and 9 deletions

View File

@ -156,11 +156,6 @@ import Activities from './activities';
const filteredSearchEnabled = gl.FilteredSearchManager && document.querySelector('.filtered-search');
switch (page) {
case 'profiles:preferences:show':
import('./pages/profiles/preferences')
.then(callDefault)
.catch(fail);
break;
case 'sessions:new':
new UsernameValidator();
new SigninTabsMemoizer();
@ -512,7 +507,9 @@ import Activities from './activities';
new BlobViewer();
break;
case 'help:index':
import('./pages/help').then(module => module.default()).catch(fail);
import('./pages/help')
.then(callDefault)
.catch(fail);
break;
case 'search:show':
new Search();

View File

@ -1,3 +0,0 @@
import initExperimentalFlags from '../../../experimental_flags';
export default () => initExperimentalFlags();