Skip to content

Commit 95cee18

Browse files
committed
Removes console.log calls
1 parent e230bab commit 95cee18

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

webview-ui/src/components/chat/CloudTaskButton.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const CloudTaskButton = ({ item, disabled = false }: CloudTaskButtonProps
2929
const generateQRCode = useCallback(
3030
(canvas: HTMLCanvasElement, context: string) => {
3131
if (!cloudTaskUrl) {
32-
console.log(`Skipping QR generation (${context}): No URL available`)
32+
// This will run again later when ready
3333
return
3434
}
3535

@@ -48,8 +48,6 @@ export const CloudTaskButton = ({ item, disabled = false }: CloudTaskButtonProps
4848
(error: Error | null | undefined) => {
4949
if (error) {
5050
console.error(`Error generating QR code (${context}):`, error)
51-
} else {
52-
console.log(`QR code generated successfully (${context})`)
5351
}
5452
},
5553
)
@@ -60,7 +58,6 @@ export const CloudTaskButton = ({ item, disabled = false }: CloudTaskButtonProps
6058
// Callback ref to capture canvas element when it mounts
6159
const canvasRef = useCallback(
6260
(node: HTMLCanvasElement | null) => {
63-
console.log("Canvas ref callback called with:", node)
6461
if (node) {
6562
setCanvasElement(node)
6663

0 commit comments

Comments
 (0)