Remove unknown source from token preview
This commit is contained in:
parent
d0531e3f10
commit
5a6bfd8a60
@ -15,7 +15,7 @@ import { useDataURL } from "../../contexts/AssetsContext";
|
||||
import GridOnIcon from "../../icons/GridOnIcon";
|
||||
import GridOffIcon from "../../icons/GridOffIcon";
|
||||
|
||||
import { tokenSources, unknownSource } from "../../tokens";
|
||||
import { tokenSources } from "../../tokens";
|
||||
|
||||
import Grid from "../Grid";
|
||||
|
||||
@ -27,7 +27,7 @@ function TokenPreview({ token }) {
|
||||
}
|
||||
}, [token, tokenSourceData]);
|
||||
|
||||
const tokenURL = useDataURL(tokenSourceData, tokenSources, unknownSource);
|
||||
const tokenURL = useDataURL(tokenSourceData, tokenSources);
|
||||
const [tokenSourceImage] = useImage(tokenURL);
|
||||
|
||||
const [stageWidth, setStageWidth] = useState(1);
|
||||
|
Loading…
Reference in New Issue
Block a user