Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
emilkowalski committed Feb 1, 2024
1 parent ac4ad6e commit e8ad874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ function Root({
const swipeAmount = drawerRef.current ? getTranslate(drawerRef.current, direction) : null;
const date = new Date();

if (direction === 'right' || 'left') {
if (direction === 'right' || direction === 'left') {
return true;
}

Expand Down

0 comments on commit e8ad874

Please sign in to comment.