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(); }