If an asset has multiple reference attributes pointing to the same asset type, it causes a duplication in the /ui directory in a few places such as below:

This is because there are loops that iterate through the attributes of each asset and produce code if they are of the reference type without taking into account potential repeats of a referenced asset