aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/NewPaste.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/NewPaste.js')
-rw-r--r--frontend/src/components/NewPaste.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/frontend/src/components/NewPaste.js b/frontend/src/components/NewPaste.js
index adb5240..afe1fc3 100644
--- a/frontend/src/components/NewPaste.js
+++ b/frontend/src/components/NewPaste.js
@@ -31,7 +31,7 @@ const FlexRight = styled.div`
margin-left: 2em;
`
-const LatexWrapper = styled.div`
+const PreviewWrapper = styled.div`
margin: 2em;
`
@@ -122,17 +122,17 @@ class NewPaste extends React.Component {
switch (this.state.language) {
case 'latex':
preview =
- <LatexWrapper>
+ <PreviewWrapper>
<Latex
content={this.state.content} />
- </LatexWrapper>
+ </PreviewWrapper>
break
case 'markdown':
preview =
- <LatexWrapper>
+ <PreviewWrapper>
<Markdown
content={this.state.content} />
- </LatexWrapper>
+ </PreviewWrapper>
break
default:
preview =