summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/sections/viewer.sections.footnotes.js
diff options
context:
space:
mode:
Diffstat (limited to 'animism-align/frontend/app/views/viewer/sections/viewer.sections.footnotes.js')
-rw-r--r--animism-align/frontend/app/views/viewer/sections/viewer.sections.footnotes.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/animism-align/frontend/app/views/viewer/sections/viewer.sections.footnotes.js b/animism-align/frontend/app/views/viewer/sections/viewer.sections.footnotes.js
index 1582d82..983d236 100644
--- a/animism-align/frontend/app/views/viewer/sections/viewer.sections.footnotes.js
+++ b/animism-align/frontend/app/views/viewer/sections/viewer.sections.footnotes.js
@@ -38,14 +38,15 @@ class ViewerSectionsFootnotes extends Component {
}
render() {
const { footnoteList } = this.props
+ console.log(footnoteList.map(note => note.footnote_id))
return (
<div className='nav-footnotes'>
<div className='nav-footnotes-close' onClick={() => actions.viewer.hideNavComponent('footnotes')}>
{EfluxClose}
</div>
<div className='nav-footnotes-scroll' ref={this.scrollRef}>
- {footnoteList.map(note => (
- <div key={note.footnote_id} className="note-element">
+ {footnoteList.map((note, i) => (
+ <div key={i} className="note-element">
<div className="note-number">
{note.footnote_id}
</div>