Skip to content

Commit

Permalink
Merge pull request #71 from VampireChicken12/dev
Browse files Browse the repository at this point in the history
fix: fix typo
  • Loading branch information
VampireChicken12 authored Nov 4, 2023
2 parents 88f3ced + 0a1ce84 commit 7cfe9c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/hideScrollBar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

0 comments on commit 7cfe9c9

Please sign in to comment.