Shared: fix eslint errors
This commit is contained in:
parent
bdd99efe66
commit
7d22ea855e
@ -67,6 +67,7 @@ export interface ArticleZendeskProps {
|
||||
zendeskKey: string;
|
||||
showProgress: boolean;
|
||||
isShowLiveChat: boolean;
|
||||
isInfoPanelVisible?: boolean;
|
||||
}
|
||||
|
||||
export interface ArticleAppsProps {
|
||||
|
@ -75,7 +75,13 @@ const ArticleLiveChat = ({
|
||||
vertical: "11px",
|
||||
},
|
||||
});
|
||||
}, [withMainButton, isMobileArticle, showProgress, isInfoPanelVisible]);
|
||||
}, [
|
||||
withMainButton,
|
||||
isMobileArticle,
|
||||
showProgress,
|
||||
isInfoPanelVisible,
|
||||
infoPanelOffset,
|
||||
]);
|
||||
|
||||
useEffect(() => {
|
||||
// console.log("Zendesk useEffect", { languageBaseName });
|
||||
|
@ -28,7 +28,6 @@
|
||||
import React from "react";
|
||||
import { Navigate, useLocation } from "react-router-dom";
|
||||
|
||||
import Error403 from "@docspace/shared/components/errors/Error403";
|
||||
import AppLoader from "@docspace/shared/components/app-loader";
|
||||
|
||||
import { TenantStatus } from "@docspace/shared/enums";
|
||||
@ -70,7 +69,7 @@ export const PrivateRoute = (props: PrivateRouteProps) => {
|
||||
return null;
|
||||
}
|
||||
|
||||
console.log("PrivateRoute returned null");
|
||||
// console.log("PrivateRoute returned null");
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
"selectors",
|
||||
"store",
|
||||
"dialogs",
|
||||
"pages",
|
||||
// add all files in which you see
|
||||
// the "parserOptions.project" error
|
||||
".eslintrc.cjs",
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* eslint-disable no-console */
|
||||
// (c) Copyright Ascensio System SIA 2009-2024
|
||||
//
|
||||
// This program is a free software product.
|
||||
|
Loading…
Reference in New Issue
Block a user