From 7481c87afb8a12d344e54357b5016f9d21596985 Mon Sep 17 00:00:00 2001 From: OdedItkinOW <104757378+OdedItkinOW@users.noreply.github.com> Date: Wed, 24 May 2023 17:55:34 +0300 Subject: [PATCH] Fixed typo in hearthstone name --- template/src/features/backgroundWindow/BackgroundWindow.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/src/features/backgroundWindow/BackgroundWindow.tsx b/template/src/features/backgroundWindow/BackgroundWindow.tsx index cfb05ad..32b0479 100644 --- a/template/src/features/backgroundWindow/BackgroundWindow.tsx +++ b/template/src/features/backgroundWindow/BackgroundWindow.tsx @@ -12,7 +12,7 @@ const { DESKTOP, INGAME } = WINDOW_NAMES //Hearthstone Game Event Provider enum Game { - 'HearhtStone' = 9898, + 'HearthStone' = 9898, } const BackgroundWindow = () => { @@ -27,7 +27,7 @@ const BackgroundWindow = () => { const openStartupWindow = useCallback(() => { const gameRunning = - currentGame?.id === Game.HearhtStone && + currentGame?.id === Game.HearthStone && (currentGame?.gameRunning || currentGame?.gameChanged) const currentWindow = gameRunning ? ingameWindow : desktopWindow gameRunning && setGameFeatures(REQUIRED_FEATURES)