Moved to storing maps as uint arrays instead of blobs
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user