Change export filename to use shortid

This commit is contained in:
Mitchell McCaffrey 2021-02-14 19:17:03 +11:00
parent cf9e428447
commit f92be8c42f

View File

@ -194,7 +194,7 @@ function ImportExportModal({ isOpen, onRequestClose }) {
mapIds,
tokenIds
);
saveAs(blob, `${new Date().toISOString()}.owlbear`);
saveAs(blob, `${shortid.generate()}.owlbear`);
} catch (e) {
setError(e);
}