Skip to content

Commit

Permalink
fix: source content loading status
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Sep 30, 2024
1 parent 4478034 commit 6d76504
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const SourceContentView = ({ src }: { src: string }) => {
const handleDidStopLoading = () => setLoading(false)

// See https://www.electronjs.org/docs/latest/api/webview-tag#example
webview.addEventListener("did-start-loading", handleDidStopLoading, {
webview.addEventListener("did-stop-loading", handleDidStopLoading, {
signal: abortController.signal,
})

Expand Down

0 comments on commit 6d76504

Please sign in to comment.