[fix] remove duplicate semicolon (#7534)

pull/7540/head
Matteo Baccan 2 years ago committed by GitHub
parent ab48fbadb3
commit 0ed6ebef9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -826,7 +826,7 @@ export default class ElementWrapper extends Wrapper {
(${data}.multiple ? @select_options : @select_option)(${this.var}, ${data}.value);
`);
block.chunks.update.push(b`
if (${block.renderer.dirty(Array.from(dependencies))} && 'value' in ${data}) (${data}.multiple ? @select_options : @select_option)(${this.var}, ${data}.value);;
if (${block.renderer.dirty(Array.from(dependencies))} && 'value' in ${data}) (${data}.multiple ? @select_options : @select_option)(${this.var}, ${data}.value);
`);
} else if (this.node.name === 'input' && this.attributes.find(attr => attr.node.name === 'value')) {
const type = this.node.get_static_attribute_value('type');

Loading…
Cancel
Save