Clean up some code as a follow-up from a previous MR https://gitlab.com/gitlab-org/gitlab/-/issues/321379
Attach a file by drag & drop or click to upload