diff --git a/svelte/helpers/shortcode.ts b/svelte/helpers/shortcode.ts index 60134f0d7..dca4c3f61 100644 --- a/svelte/helpers/shortcode.ts +++ b/svelte/helpers/shortcode.ts @@ -9,7 +9,7 @@ const shortcodeOpenSkyNft = (nft: NftType): string => nft )}[/kredeum_opensky]`; -const shortcodeOpenSky = (nft: NftType, coll: boolean): string => +const shortcodeOpenSky = (nft: NftType, coll = false): string => coll ? shortcodeOpenSkyCollection(nft) : shortcodeOpenSkyNft(nft); export { shortcodeOpenSky, shortcodeOpenSkyNft, shortcodeOpenSkyCollection };