I noticed that both the BaseMetadataSection and the data-type specific MetadataSection are exported wrapped by default wrapped in withRouter.
I see that the BaseMetadataSection requires withRouter for the history, but is withRouter necessary in the data-type specific MetadataSection components (e.g. src/scenes/BiochemicalEntityDetails/Protein/MetadataSection)? It would be simpler for testing if it can be exported without the withRouter.
I noticed that both the BaseMetadataSection and the data-type specific MetadataSection are exported wrapped by default wrapped in withRouter.
I see that the BaseMetadataSection requires withRouter for the history, but is withRouter necessary in the data-type specific MetadataSection components (e.g. src/scenes/BiochemicalEntityDetails/Protein/MetadataSection)? It would be simpler for testing if it can be exported without the withRouter.