Moved to storing maps as uint arrays instead of blobs

This commit is contained in:
Mitchell McCaffrey
2020-05-01 17:37:01 +10:00
parent 86450a04db
commit ca0240351c
3 changed files with 31 additions and 29 deletions

View File

@@ -11,7 +11,7 @@ function useDataSource(data, defaultSources) {
}
let url = null;
if (data.type === "file") {
url = URL.createObjectURL(data.file);
url = URL.createObjectURL(new Blob([data.file]));
} else if (data.type === "default") {
url = defaultSources[data.key];
}