fix: refactor token usage and types

This commit is contained in:
Christel Westerberg
2024-05-23 08:21:01 +02:00
parent 9b295d0126
commit 215b0901c0
7 changed files with 11 additions and 16 deletions

View File

@@ -26,7 +26,7 @@ export function Blocks({ lang, blocks }: BlocksProps & LangParams) {
case LoyaltyBlocksTypenameEnum.LoyaltyPageBlocksDynamicContent:
const dynamicContent = {
...block.dynamic_content,
linK: block.dynamic_content.link
link: block.dynamic_content.link
? {
...block.dynamic_content.link,
href: modWebviewLink(block.dynamic_content.link.href, lang),