Nucleus transcripts, fixed season api (again), fixed hydration issues
diff --git a/Components/Texttools.js b/Components/Texttools.js
index 57fddc0..76fa8cf 100644
--- a/Components/Texttools.js
+++ b/Components/Texttools.js
@@ -48,11 +48,11 @@
}
render() {
- return <pre
+ return <span
className={Styles.code}
style={{color: `#${this.props.colour}`}}
onClick={this.props.clickable ? () => this.clicked() : () => this.clicked()}
- >{this.state.isPopoverOpen ? "Copied!" : this.props.children}</pre>
+ >{this.state.isPopoverOpen ? "Copied!" : this.props.children}</span>
}
}