From a0177dd5fcff094fa978d16a4bdac145d59a65a4 Mon Sep 17 00:00:00 2001 From: Abhinav Date: Tue, 1 Nov 2022 11:57:00 +0530 Subject: [PATCH] fix getUpdateAvailableForDownloadMessage action --- src/utils/ui/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/ui/index.tsx b/src/utils/ui/index.tsx index cceeba8f3..49dd3985e 100644 --- a/src/utils/ui/index.tsx +++ b/src/utils/ui/index.tsx @@ -69,7 +69,7 @@ export const getUpdateAvailableForDownloadMessage = variant: 'secondary', }, proceed: { - action: () => ElectronUpdateService.updateAndRestart(), + action: downloadApp, text: constants.DOWNLOAD_AND_INSTALL, variant: 'accent', },