Fix token tile loading

This commit is contained in:
Mitchell McCaffrey 2021-04-23 11:47:18 +10:00
parent b2ed5d2f6b
commit 6b9665ffe8

View File

@ -2,7 +2,7 @@ import React from "react";
import Tile from "../Tile";
import { useAssetURL } from "../../contexts/AssetsContext";
import { useDataURL } from "../../contexts/AssetsContext";
import {
tokenSources as defaultTokenSources,
@ -18,7 +18,7 @@ function TokenTile({
canEdit,
badges,
}) {
const tokenURL = useAssetURL(
const tokenURL = useDataURL(
token,
defaultTokenSources,
unknownSource,