mirror of
https://github.com/Qortal/qapp-core.git
synced 2025-07-12 20:31:21 +00:00
remove logs
This commit is contained in:
parent
97ac8c3f9f
commit
cb00d03049
@ -183,8 +183,6 @@ const SubtitleManagerComponent = ({
|
|||||||
}
|
}
|
||||||
}, [open]);
|
}, [open]);
|
||||||
|
|
||||||
console.log("isFromDrawer");
|
|
||||||
|
|
||||||
const handleBlur = (e: React.FocusEvent) => {
|
const handleBlur = (e: React.FocusEvent) => {
|
||||||
if (
|
if (
|
||||||
!e.currentTarget.contains(e.relatedTarget) &&
|
!e.currentTarget.contains(e.relatedTarget) &&
|
||||||
@ -192,7 +190,6 @@ const SubtitleManagerComponent = ({
|
|||||||
!isFromDrawer &&
|
!isFromDrawer &&
|
||||||
open
|
open
|
||||||
) {
|
) {
|
||||||
console.log("hello close");
|
|
||||||
close();
|
close();
|
||||||
setIsOpenPublish(false);
|
setIsOpenPublish(false);
|
||||||
}
|
}
|
||||||
|
@ -153,7 +153,6 @@ export const ProgressSlider = ({
|
|||||||
|
|
||||||
const hoverAnchorRef = useRef<HTMLDivElement | null>(null);
|
const hoverAnchorRef = useRef<HTMLDivElement | null>(null);
|
||||||
if (hoverX) {
|
if (hoverX) {
|
||||||
console.log("thumbnailUrl", thumbnailUrl, hoverX);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleClickCapture = (e: React.MouseEvent) => {
|
const handleClickCapture = (e: React.MouseEvent) => {
|
||||||
|
@ -230,7 +230,6 @@ useEffect(() => {
|
|||||||
if (!videoSrc || !container) return;
|
if (!videoSrc || !container) return;
|
||||||
|
|
||||||
const handleInteraction = () => {
|
const handleInteraction = () => {
|
||||||
console.log("Touchstart detected!");
|
|
||||||
resetHideTimeout();
|
resetHideTimeout();
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -246,7 +245,6 @@ useEffect(() => {
|
|||||||
};
|
};
|
||||||
}, [videoSrc]);
|
}, [videoSrc]);
|
||||||
|
|
||||||
console.log("showControls", showControls);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Rnd
|
<Rnd
|
||||||
|
@ -23,7 +23,6 @@ export const useResourceStatus = ({
|
|||||||
const downloadResource = useCallback(
|
const downloadResource = useCallback(
|
||||||
({ service, name, identifier }: QortalGetMetadata, build?: boolean, isRecalling?: boolean) => {
|
({ service, name, identifier }: QortalGetMetadata, build?: boolean, isRecalling?: boolean) => {
|
||||||
try {
|
try {
|
||||||
console.log('started2')
|
|
||||||
if(statusRef.current && statusRef.current?.status === 'READY'){
|
if(statusRef.current && statusRef.current?.status === 'READY'){
|
||||||
if (intervalRef.current) {
|
if (intervalRef.current) {
|
||||||
clearInterval(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
|
// Check if progress is 100% and clear interval if true
|
||||||
if (res?.status === "READY") {
|
if (res?.status === "READY") {
|
||||||
|
|
||||||
if (intervalRef.current) {
|
if (intervalRef.current) {
|
||||||
console.log('clearing 11')
|
|
||||||
clearInterval(intervalRef.current);
|
clearInterval(intervalRef.current);
|
||||||
}
|
}
|
||||||
if (timeoutRef.current) {
|
if (timeoutRef.current) {
|
||||||
console.log('clearing 22')
|
|
||||||
clearTimeout(timeoutRef.current);
|
clearTimeout(timeoutRef.current);
|
||||||
}
|
}
|
||||||
intervalRef.current = null;
|
intervalRef.current = null;
|
||||||
@ -164,7 +160,6 @@ export const useResourceStatus = ({
|
|||||||
setResourceStatus({service, name, identifier}, {
|
setResourceStatus({service, name, identifier}, {
|
||||||
...res,
|
...res,
|
||||||
})
|
})
|
||||||
console.log('returned')
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (res?.status === "DOWNLOADED") {
|
if (res?.status === "DOWNLOADED") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user