const App = require('utils/sanaAppInstance');
const LanguageSelectorView = require('views/common/languageSelectorView');
const LoggedInRightNavbarView = require('views/common/loggedInRightNavbarView');
const LoggedOutRightNavbarView = require('views/common/loggedOutRightNavbarView');


module.exports = Marionette.Behavior.extend({

    onBeforeShow: function() {
 //       this.view.showChildView('languageSelector', new LanguageSelectorView());

        if (App().session.isValid()) {
            this.view.showChildView('rightNavbar', new LoggedInRightNavbarView());
        } else {
            this.view.showChildView('rightNavbar', new LoggedOutRightNavbarView());
        }
    },

});

@@ -43,83 +43,8 @@
 ');%0A
-const LanguageSelectorView = require('views/common/languageSelectorView');%0A
 cons
@@ -287,92 +287,8 @@
 ) %7B%0A
- //       this.view.showChildView('languageSelector', new LanguageSelectorView());%0A%0A
     

Remove language selector require