remove logs

This commit is contained in:
PhilReact 2025-06-26 22:50:26 +03:00
parent 97ac8c3f9f
commit cb00d03049
4 changed files with 0 additions and 11 deletions

View File

@ -183,8 +183,6 @@ const SubtitleManagerComponent = ({
}
}, [open]);
console.log("isFromDrawer");
const handleBlur = (e: React.FocusEvent) => {
if (
!e.currentTarget.contains(e.relatedTarget) &&
@ -192,7 +190,6 @@ const SubtitleManagerComponent = ({
!isFromDrawer &&
open
) {
console.log("hello close");
close();
setIsOpenPublish(false);
}

View File

@ -153,7 +153,6 @@ export const ProgressSlider = ({
const hoverAnchorRef = useRef<HTMLDivElement | null>(null);
if (hoverX) {
console.log("thumbnailUrl", thumbnailUrl, hoverX);
}
const handleClickCapture = (e: React.MouseEvent) => {

View File

@ -230,7 +230,6 @@ useEffect(() => {
if (!videoSrc || !container) return;
const handleInteraction = () => {
console.log("Touchstart detected!");
resetHideTimeout();
};
@ -246,7 +245,6 @@ useEffect(() => {
};
}, [videoSrc]);
console.log("showControls", showControls);
return (
<Rnd

View File

@ -23,7 +23,6 @@ export const useResourceStatus = ({
const downloadResource = useCallback(
({ service, name, identifier }: QortalGetMetadata, build?: boolean, isRecalling?: boolean) => {
try {
console.log('started2')
if(statusRef.current && statusRef.current?.status === 'READY'){
if (intervalRef.current) {
clearInterval(intervalRef.current);
@ -147,16 +146,13 @@ export const useResourceStatus = ({
}
);
}
console.log('res?.status', res?.status)
// Check if progress is 100% and clear interval if true
if (res?.status === "READY") {
if (intervalRef.current) {
console.log('clearing 11')
clearInterval(intervalRef.current);
}
if (timeoutRef.current) {
console.log('clearing 22')
clearTimeout(timeoutRef.current);
}
intervalRef.current = null;
@ -164,7 +160,6 @@ export const useResourceStatus = ({
setResourceStatus({service, name, identifier}, {
...res,
})
console.log('returned')
return
}
if (res?.status === "DOWNLOADED") {