You have a bracket that doesn’t belong? You see these grey arrows? Click on them and you should see your 4 choices.
Sorry, before you do that, make sure your end bracket is on its own line. } New line
Post that.