Skip to content

Commit 12b7242

Browse files
committed
Fix type error
1 parent 8099838 commit 12b7242

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/main/take-screenshot.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export function takeScreenshot(): Promise<string | void> {
1616
const base64Data = screenshot.toString('base64')
1717
return base64Data
1818
}
19+
return undefined
1920
})
2021
.catch((error) => {
2122
console.error('Error taking screenshot:', error)

src/renderer/src/coder/AppContent.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export function AppContent() {
4747

4848
return () => clearTimeout(timer)
4949
}
50+
return undefined
5051
}, [solutionChunks, isLoading, setIsLoading])
5152

5253
useEffect(() => {

0 commit comments

Comments
 (0)