From 674e2f1a09c1ec60ca8ae009749aacc60b8908c0 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Thu, 3 Feb 2022 09:24:35 -0500 Subject: [PATCH] Fix typo Signed-off-by: Sebastian Malton --- .../+extensions/attempt-install/attempt-install.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/renderer/components/+extensions/attempt-install/attempt-install.tsx b/src/renderer/components/+extensions/attempt-install/attempt-install.tsx index 64fe8d43ed..97b5f46ad2 100644 --- a/src/renderer/components/+extensions/attempt-install/attempt-install.tsx +++ b/src/renderer/components/+extensions/attempt-install/attempt-install.tsx @@ -80,10 +80,10 @@ export const attemptInstall = } const extensionFolder = getExtensionDestFolder(name); - const installedExtensionsion = extensionLoader.getExtension(validatedRequest.id); + const installedExtension = extensionLoader.getExtension(validatedRequest.id); - if (installedExtensionsion) { - const { version: oldVersion } = installedExtensionsion.manifest; + if (installedExtension) { + const { version: oldVersion } = installedExtension.manifest; // confirm to uninstall old version before installing new version const removeNotification = Notifications.info(