주석제거 필요없는코드 삭제
This commit is contained in:
@@ -185,8 +185,6 @@ export const getSubCategory =
|
||||
let pageSize = params.pageSize || CATEGORY_DATA_MAX_RESULTS_LIMIT;
|
||||
|
||||
if (pageNo === 1) {
|
||||
console.log("###lastSubCategoryParams", lastSubCategoryParams);
|
||||
console.log("###params", params);
|
||||
if (
|
||||
lastSubCategoryParams &&
|
||||
JSON.stringify(lastSubCategoryParams) === JSON.stringify(params)
|
||||
|
||||
@@ -164,11 +164,9 @@ export default function MainView({ className, initService }) {
|
||||
);
|
||||
|
||||
const deviceCountryCode = httpHeader?.["X-Device-Country"] || "";
|
||||
const [showPDF, setShowPDF] = useState(false);
|
||||
const isLogSentRef = useRef(false);
|
||||
const watchRecord = useSelector((state) => state.localSettings?.watchRecord);
|
||||
const watchRecordRef = usePrevious(watchRecord);
|
||||
const [tabLayoutPanelInfo, setTabLayoutPanelInfo] = useState([]);
|
||||
const [tabActivated, setTabActivated] = useState(false);
|
||||
const [imagePreloaded, setImagePreloaded] = useState(false);
|
||||
const [ariaHidden, setAriaHidden] = useState(false);
|
||||
@@ -376,13 +374,7 @@ export default function MainView({ className, initService }) {
|
||||
[dispatch]
|
||||
);
|
||||
|
||||
const openPdfPopup = (pdfUrl) => {
|
||||
window.open(
|
||||
pdfUrl,
|
||||
"pdfWindow",
|
||||
"width=800,height=600,top=100,left=100,resizable=yes,scrollbars=yes,toolbar=no,menubar=no,status=no"
|
||||
);
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
document.addEventListener("cursorStateChange", cursorStateChange, false);
|
||||
if (platform.platformName !== "webos") {
|
||||
@@ -674,11 +666,7 @@ export default function MainView({ className, initService }) {
|
||||
}
|
||||
}, [dispatch, popupData, activePopup, topPanel?.name]);
|
||||
|
||||
// useEffect(() => {
|
||||
// if (!isInternetConnected) {
|
||||
// dispatch(setShowPopup(Config.ACTIVE_POPUP.networkErrorPopup));
|
||||
// }
|
||||
// }, [isInternetConnected]);
|
||||
|
||||
|
||||
return (
|
||||
<div
|
||||
@@ -699,7 +687,6 @@ export default function MainView({ className, initService }) {
|
||||
<div
|
||||
className={classNames(
|
||||
css.container
|
||||
// showLoadingPanel.type === "launching" ? css.transparent : null
|
||||
)}
|
||||
>
|
||||
<div className={classNames(css.mainlayout)}>{renderTopPanel()}</div>
|
||||
|
||||
Reference in New Issue
Block a user