Skip to content

Commit 33d6839

Browse files
committed
export constants, add missing event
1 parent 3a98065 commit 33d6839

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/SidebarNav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export const SidebarNav = styled(
150150
}
151151
};
152152

153-
document.addEventListener("click", handleOutsideEvent);
153+
document.addEventListener("mousedown", handleOutsideEvent);
154154
document.addEventListener("touchstart", handleOutsideEvent);
155155
document.addEventListener("keydown", handleKeyPress);
156156

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export * from './components/Text';
2222
export * from './components/ToastContainer';
2323
export * from './components/Tooltip';
2424
export * as Forms from './components/forms';
25+
export * from './constants';
2526
export * from './contexts';
2627
export * from './hooks';
2728
export * from './theme';

0 commit comments

Comments
 (0)