Skip to content

Commit

Permalink
fix: edit autoUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
UrijHoruzij committed Jan 13, 2023
1 parent dee687b commit c4b4693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function Settings() {
}
};
useEffect(() => {
window.electron.on('update-status', ({ status, bytesPerSecond, percent, totalevent }) => {
window.electron.on('update-status', (event, { status, bytesPerSecond, percent, totalevent }) => {
setUpdateStatus(status);
if (status === 'download-progress') {
setDownloadProgress(percent);
Expand Down

0 comments on commit c4b4693

Please sign in to comment.