prompt when loading external scene before overriding local one (#1862)
This commit is contained in:
@ -367,7 +367,6 @@ export const loadScene = async (id: string | null, privateKey?: string) => {
|
||||
// the private key is used to decrypt the content from the server, take
|
||||
// extra care not to leak it
|
||||
data = await importFromBackend(id, privateKey);
|
||||
window.history.replaceState({}, "Excalidraw", window.location.origin);
|
||||
} else {
|
||||
data = restoreFromLocalStorage();
|
||||
}
|
||||
|
Reference in New Issue
Block a user