From cdf8e036ff56281e9052fff7a688c6f32121428f Mon Sep 17 00:00:00 2001 From: jackyzha0 Date: Fri, 22 May 2020 23:39:35 -0700 Subject: add preview panel --- frontend/src/components/PasteInfo.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'frontend/src/components/PasteInfo.js') 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) => { -- cgit v1.2.3