We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 01cc356 + d767e6a commit d5648dfCopy full SHA for d5648df
src/generators/server-side-rendering/visitors/Component.js
@@ -21,7 +21,7 @@ export default {
21
} else if ( attribute.value.length === 1 ) {
22
const chunk = attribute.value[0];
23
if ( chunk.type === 'Text' ) {
24
- value = isNaN( parseFloat( chunk.data ) ) ? JSON.stringify( chunk.data ) : chunk.data;
+ value = isNaN( chunk.data ) ? JSON.stringify( chunk.data ) : chunk.data;
25
} else {
26
const { snippet } = generator.contextualise( chunk.expression );
27
value = snippet;
0 commit comments