From 0a1ce84bab409b5c79a3c960558d2dc01c42af0a Mon Sep 17 00:00:00 2001 From: VampireChicken12 Date: Sat, 4 Nov 2023 00:45:32 -0400 Subject: [PATCH] fix: fix typo --- src/features/hideScrollBar/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/features/hideScrollBar/index.ts b/src/features/hideScrollBar/index.ts index 4a5084de..a5c4e1ae 100644 --- a/src/features/hideScrollBar/index.ts +++ b/src/features/hideScrollBar/index.ts @@ -9,8 +9,8 @@ export async function enableHideScrollBar() { data: { options } } = optionsData; // Extract the necessary properties from the options object - const { enable_hide_scroll_bar } = options; + const { enable_hide_scrollbar } = options; // If the hide scroll bar option is disabled, return - if (!enable_hide_scroll_bar) return; + if (!enable_hide_scrollbar) return; hideScrollBar(); }