update location of tags type rewrite

This commit is contained in:
Charlie Humphreys committed 2022-08-05 15:37:22 -05:00
1 parent c7cfa86205
commit ae9eef4fba
2 files changed
+4 -4

No files matched your search

+1 -4
View File
@@ -299,10 +299,7 @@ const Editor = createClass({
style={{ display: 'none' }}
rerenderParent={this.rerenderParent} />
<MetadataEditor
metadata={({
...this.props.brew,
tags : typeof this.props.brew.tags === 'string' ? [] : this.props.brew.tags
})}
metadata={this.props.brew}
onChange={this.props.onMetaChange} />
</>;
}