diff --git a/site/src/components/PkgNode.svelte b/site/src/components/PkgNode.svelte index 98e6ced..ce9818e 100644 --- a/site/src/components/PkgNode.svelte +++ b/site/src/components/PkgNode.svelte @@ -21,7 +21,7 @@ $: isValueArray = Array.isArray(value) $: isValueObject = value && typeof value === 'object' - $: keyText = key && isNaN(parseInt(key)) ? `"${key}": ` : '' + $: keyText = key && isNaN(parseInt(`${key}`)) ? `"${key}": ` : '' $: matchedMessages = messages.filter( (v) => v.path.length && isArrayEqual(paths, v.path)