Commit 7d0a1285 authored by Constance Okoghenun's avatar Constance Okoghenun

Removed experimental feature flag unsed depenecy for profiles/preferences

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