mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: don't unnecessarily prompt when installing libraries (#3329)
This commit is contained in:
parent
cf9e29834d
commit
30ae4b8bf2
6 changed files with 10 additions and 7 deletions
|
@ -4,9 +4,11 @@ import { restoreElements } from "./restore";
|
|||
import { STORAGE_KEYS } from "../constants";
|
||||
import { getNonDeletedElements } from "../element";
|
||||
import { NonDeleted, ExcalidrawElement } from "../element/types";
|
||||
import { nanoid } from "nanoid";
|
||||
|
||||
export class Library {
|
||||
private static libraryCache: LibraryItems | null = null;
|
||||
public static csrfToken = nanoid();
|
||||
|
||||
static resetLibrary = () => {
|
||||
Library.libraryCache = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue