Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit c1652a3

Browse files
committed
fix: typescript error
1 parent 0a53c8f commit c1652a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/rmrk/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const ipfsHashToUrl = (ipfsHash?: string, provider?: ProviderKeyType): st
4949
return `${resolveProvider(provider)}ipfs/${ipfsHash}`
5050
}
5151

52-
return ipfsHash
52+
return ipfsHash || ''
5353
}
5454

5555
const resolveProvider = (key: ProviderKeyType = 'kodadot'): string => ipfsProviders[key]

0 commit comments

Comments
 (0)