fix: type signature
whitespace
fix: render detail after reset on document edit