remove unnecessary chunk length check

pull/4621/head
Jonniek 6 years ago committed by tanhauhau
parent 7651abdeed
commit 92dc06cd70

@ -111,7 +111,7 @@ export default function(node: Element, renderer: Renderer, options: RenderOption
if (name === 'group') {
const value_attribute = node.attributes.find(({ name }) => name === 'value');
if (value_attribute && value_attribute.chunks.length === 1) {
if (value_attribute) {
const value = get_attribute_value(value_attribute);
const bound = expression.node;
renderer.add_expression(x`

Loading…
Cancel
Save