move EditHistoryLatest outside section

This commit is contained in:
Ed Chalstrey 2022-08-09 15:44:38 +01:00
parent 404f944c8e
commit 2e17f25285

View File

@ -300,6 +300,9 @@ const withCopyEdit: (wc: React.ComponentType<CategoryViewProps>) => DataContaine
const edited = this.isEdited(); const edited = this.isEdited();
return ( return (
<EditHistoryLatest
building={this.props.building}
/>
<section <section
id={this.props.cat} id={this.props.cat}
className="data-section"> className="data-section">
@ -307,9 +310,6 @@ const withCopyEdit: (wc: React.ComponentType<CategoryViewProps>) => DataContaine
cat={this.props.cat} cat={this.props.cat}
title={this.props.title} title={this.props.title}
> >
<EditHistoryLatest
building={this.props.building}
/>
{ {
this.props.help && !copy.copying? this.props.help && !copy.copying?
<a <a