fix: refactor token usage and types
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user