Remove unknown source from map and token tiles

This commit is contained in:
Mitchell McCaffrey
2021-04-30 11:55:21 +10:00
parent f844199172
commit fa94275ac8
3 changed files with 18 additions and 19 deletions

View File

@@ -3,7 +3,7 @@ import React from "react";
import Tile from "../Tile";
import { useDataURL } from "../../contexts/AssetsContext";
import { mapSources as defaultMapSources, unknownSource } from "../../maps";
import { mapSources as defaultMapSources } from "../../maps";
function MapTile({
map,
@@ -18,7 +18,7 @@ function MapTile({
const mapURL = useDataURL(
map,
defaultMapSources,
unknownSource,
undefined,
map.type === "file"
);