Is there an obvious error in this React code for customizing a Gutenberg Block?

I am trying to add a select field and a title field to a certain block. I used this example as starting point: https://www.liip.ch/en/blog/how-to-extend-existing-gutenberg-blocks-in-wordpress Edited: My code is const { assign } = lodash; const { addFilter } = wp.hooks; const { __ } = wp.i18n; // Enable contenttype control on the following blocks const…