aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/PasteInfo.js
diff options
context:
space:
mode:
authorRyan Mehri <[email protected]>2020-05-23 09:53:02 -0600
committerGitHub <[email protected]>2020-05-23 09:53:02 -0600
commit128ed6ef43d960becfeaef96615aa06e16932195 (patch)
treed81289bc118b006ddec2e9f7162f188e0d8f8ec8 /frontend/src/components/PasteInfo.js
parentMerge pull request #29 from jackyzha0/order-langs (diff)
parentfix weird padding (diff)
downloadctrl-v-128ed6ef43d960becfeaef96615aa06e16932195.tar.xz
ctrl-v-128ed6ef43d960becfeaef96615aa06e16932195.zip
Merge pull request #30 from jackyzha0/latex-renderer
latex renderer live preview
Diffstat (limited to 'frontend/src/components/PasteInfo.js')
-rw-r--r--frontend/src/components/PasteInfo.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/frontend/src/components/PasteInfo.js b/frontend/src/components/PasteInfo.js
index 28141ac..9cf4da3 100644
--- a/frontend/src/components/PasteInfo.js
+++ b/frontend/src/components/PasteInfo.js
@@ -37,9 +37,7 @@ const PasteInfo = (props) => {
history.push(redirUrl);
}
- const redirRender = () => {
- const redirUrl = `/render/${props.hash}`
- history.push(redirUrl);
+ const render = () => {
}
const renderable = () => {
@@ -48,7 +46,7 @@ const PasteInfo = (props) => {
<Button
className="lt-shadow lt-hover"
type="button"
- onClick={redirRender}
+ onClick={render}
>
render
</Button>