mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-10 11:00:41 +02:00
fix: use jotai scope for editor-specific atoms (#6308)
This commit is contained in:
@@ -48,6 +48,7 @@ export const LibraryMenuHeader: React.FC<{
|
||||
const [libraryItemsData] = useAtom(libraryItemsAtom, jotaiScope);
|
||||
const [isLibraryMenuOpen, setIsLibraryMenuOpen] = useAtom(
|
||||
isLibraryMenuOpenAtom,
|
||||
jotaiScope,
|
||||
);
|
||||
const renderRemoveLibAlert = useCallback(() => {
|
||||
const content = selectedItems.length
|
||||
|
Reference in New Issue
Block a user