Web: Client: delete useless

This commit is contained in:
Viktor Fomin 2022-07-26 00:03:12 +03:00
parent 0f50f41f52
commit c255601f65

View File

@ -435,7 +435,6 @@ const Shell = ({ items = [], page = "home", ...rest }) => {
const pathname = window.location.pathname.toLowerCase();
const isEditor = pathname.indexOf("doceditor") !== -1;
const isLogin = pathname.indexOf("login") !== -1;
if (!window.AppServer.studio) {
window.AppServer.studio = {};
@ -527,7 +526,7 @@ const Shell = ({ items = [], page = "home", ...rest }) => {
<Router history={history}>
<Toast />
<ReactSmartBanner t={t} ready={ready} />
{isEditor || isLogin || !isMobileOnly ? <></> : <NavMenu />}
{isEditor || !isMobileOnly ? <></> : <NavMenu />}
<IndicatorLoader />
<ScrollToTop />
<DialogsWrapper t={t} />