Hello,
We also encountered these console warnings and addressed them in this PR:
https://github.com/DSpace/dspace-angular/pull/6083
Feel free to take a look at the solution, review it, and test it on your side. We are already running this fix in production.
From +dataquest,
Milan Majchrak