주석제거 필요없는코드 삭제

This commit is contained in:
dongyoungKo
2025-07-04 15:12:06 +09:00
parent 055b8fec20
commit 8923c9919e
2 changed files with 2 additions and 17 deletions

View File

@@ -185,8 +185,6 @@ export const getSubCategory =
let pageSize = params.pageSize || CATEGORY_DATA_MAX_RESULTS_LIMIT; let pageSize = params.pageSize || CATEGORY_DATA_MAX_RESULTS_LIMIT;
if (pageNo === 1) { if (pageNo === 1) {
console.log("###lastSubCategoryParams", lastSubCategoryParams);
console.log("###params", params);
if ( if (
lastSubCategoryParams && lastSubCategoryParams &&
JSON.stringify(lastSubCategoryParams) === JSON.stringify(params) JSON.stringify(lastSubCategoryParams) === JSON.stringify(params)

View File

@@ -164,11 +164,9 @@ export default function MainView({ className, initService }) {
); );
const deviceCountryCode = httpHeader?.["X-Device-Country"] || ""; const deviceCountryCode = httpHeader?.["X-Device-Country"] || "";
const [showPDF, setShowPDF] = useState(false);
const isLogSentRef = useRef(false); const isLogSentRef = useRef(false);
const watchRecord = useSelector((state) => state.localSettings?.watchRecord); const watchRecord = useSelector((state) => state.localSettings?.watchRecord);
const watchRecordRef = usePrevious(watchRecord); const watchRecordRef = usePrevious(watchRecord);
const [tabLayoutPanelInfo, setTabLayoutPanelInfo] = useState([]);
const [tabActivated, setTabActivated] = useState(false); const [tabActivated, setTabActivated] = useState(false);
const [imagePreloaded, setImagePreloaded] = useState(false); const [imagePreloaded, setImagePreloaded] = useState(false);
const [ariaHidden, setAriaHidden] = useState(false); const [ariaHidden, setAriaHidden] = useState(false);
@@ -376,13 +374,7 @@ export default function MainView({ className, initService }) {
[dispatch] [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(() => { useEffect(() => {
document.addEventListener("cursorStateChange", cursorStateChange, false); document.addEventListener("cursorStateChange", cursorStateChange, false);
if (platform.platformName !== "webos") { if (platform.platformName !== "webos") {
@@ -674,11 +666,7 @@ export default function MainView({ className, initService }) {
} }
}, [dispatch, popupData, activePopup, topPanel?.name]); }, [dispatch, popupData, activePopup, topPanel?.name]);
// useEffect(() => {
// if (!isInternetConnected) {
// dispatch(setShowPopup(Config.ACTIVE_POPUP.networkErrorPopup));
// }
// }, [isInternetConnected]);
return ( return (
<div <div
@@ -699,7 +687,6 @@ export default function MainView({ className, initService }) {
<div <div
className={classNames( className={classNames(
css.container css.container
// showLoadingPanel.type === "launching" ? css.transparent : null
)} )}
> >
<div className={classNames(css.mainlayout)}>{renderTopPanel()}</div> <div className={classNames(css.mainlayout)}>{renderTopPanel()}</div>