Virtual whiteboard for sketching hand-drawn like diagrams
chore: update lib menu click outside callback comment (#5687)
Ryan Di898789b9792e
diff --git a/src/components/LibraryMenu.tsx b/src/components/LibraryMenu.tsxindex c9fc757033..ebd609763d 100644--- a/src/components/LibraryMenu.tsx+++ b/src/components/LibraryMenu.tsx@@ -107,7 +107,8 @@ export const LibraryMenu = ({ref,useCallback((event) => {- // If click on the library icon, do nothing.+ // If click on the library icon, do nothing so that LibraryButton+ // can toggle library menuif ((event.target as Element).closest(".ToolIcon__library")) {return;}