Skip to content

Commit

Permalink
Fix wrong assets on NFTs
Browse files Browse the repository at this point in the history
  • Loading branch information
WRadoslaw committed Jul 12, 2023
1 parent 4c315a1 commit f8f5395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/atlas/src/hooks/useGetAssetUrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const useGetAssetUrl = (urls: string[] | undefined | null, type: 'image'
const [isLoading, setIsLoading] = useState(true)
const { userBenchmarkTime } = useOperatorsContext()
useEffect(() => {
if (url) {
if (url && urls?.includes(url)) {
return
}
const init = async () => {
Expand Down

0 comments on commit f8f5395

Please sign in to comment.