Skip to content

Commit 2f3bca8

Browse files
committed
fix: update QRCode error callback type to match library signature
1 parent fff35ee commit 2f3bca8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const CloudTaskButton = ({ item, disabled = false }: CloudTaskButtonProps
4242
light: "#FFFFFF",
4343
},
4444
},
45-
(error: Error | null) => {
45+
(error: Error | null | undefined) => {
4646
if (error) {
4747
console.error("Error generating QR code:", error)
4848
}

0 commit comments

Comments
 (0)