Sub panel, see anything wrong?

I would guess amateur installation. Rewired part of the house, left 1/2 the KnT and fuse blocks and didn’t even install hardwired smokes.