We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2e8de6 commit d3368bdCopy full SHA for d3368bd
src/plugin/wrapPageElement.tsx
@@ -124,7 +124,8 @@ export const wrapPageElement = (
124
const fallbackNS = namespaces.filter((ns) => ns !== defaultNS);
125
126
const resources: Resource = localeNodes.reduce<Resource>((res: Resource, {node}) => {
127
- const parsedData: ResourceKey = typeof node.data === 'object' ? node.data : JSON.parse(node.data);
+ const parsedData: ResourceKey =
128
+ typeof node.data === 'object' ? node.data : JSON.parse(node.data);
129
130
if (!(node.language in res)) res[node.language] = {};
131
0 commit comments