mirror of
https://github.com/Qortal/qapp-core.git
synced 2025-07-12 12:21:24 +00:00
remove logs
This commit is contained in:
parent
97ac8c3f9f
commit
cb00d03049
@ -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);
|
||||
}
|
||||
|
@ -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) => {
|
||||
|
@ -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
|
||||
|
@ -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") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user