Commit d4db1963 authored by Ken Hawkins's avatar Ken Hawkins
Browse files

wrapping div to help react track the location of the inserted html

Fixes #4
parent 582d3b8a
Pipeline #156031 passed with stages
in 7 minutes and 36 seconds
......@@ -9,12 +9,15 @@ export class EmblFooter extends React.Component {
}
render() {
return (
<link
rel="import"
href="https://www.embl.org/api/v1/pattern.html?filter-content-type=article&filter-id=569&pattern=node-body&source=contenthub"
data-target="self"
data-embl-js-content-hub-loader
/>
<div>
{/* wrapping div to help react track the location of the inserted html */}
<link
rel="import"
href="https://www.embl.org/api/v1/pattern.html?filter-content-type=article&filter-id=569&pattern=node-body&source=contenthub"
data-target="self"
data-embl-js-content-hub-loader
/>
</div>
);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment