Change let to const

This commit is contained in:
Trevor Buckner committed 2022-06-21 15:59:28 -04:00
1 parent 2e27e9f8f6
commit 1e1a3d891a
1 file changed
+1 -3
@@ -91,9 +91,7 @@ const Snippetbar = createClass({
},
renderSnippetGroups : function(){
let snippets = [];
snippets = this.state.snippets.filter((snippetGroup)=>snippetGroup.view === this.props.view);
const snippets = this.state.snippets.filter((snippetGroup)=>snippetGroup.view === this.props.view);
return _.map(snippets, (snippetGroup)=>{
return <SnippetGroup