aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/PasteInfo.js
diff options
context:
space:
mode:
authorjackyzha0 <[email protected]>2021-03-06 17:07:28 -0800
committerjackyzha0 <[email protected]>2021-03-06 17:07:28 -0800
commit2c5bf739b8dfd8d3c7d341ab57ca8ea08fbc5f9e (patch)
tree4d9dfcfb6feaaf18d89b1ff03e74b6ddc332f6f5 /frontend/src/components/PasteInfo.js
parentrefactor form -> common (diff)
downloadctrl-v-2c5bf739b8dfd8d3c7d341ab57ca8ea08fbc5f9e.tar.xz
ctrl-v-2c5bf739b8dfd8d3c7d341ab57ca8ea08fbc5f9e.zip
fix button dropdown height
Diffstat (limited to 'frontend/src/components/PasteInfo.js')
-rw-r--r--frontend/src/components/PasteInfo.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/frontend/src/components/PasteInfo.js b/frontend/src/components/PasteInfo.js
index cb48b20..25afbc9 100644
--- a/frontend/src/components/PasteInfo.js
+++ b/frontend/src/components/PasteInfo.js
@@ -2,7 +2,6 @@ import React from 'react';
import styled from 'styled-components'
import { useHistory } from 'react-router-dom';
import { Theme } from './Inputs'
-import { exportComponentAsPNG } from "react-component-export-image";
import {Button} from "./Common/Button";
const Bold = styled.span`
@@ -58,12 +57,6 @@ const PasteInfo = (props) => {
onClick={redirRaw}>
view raw
</ShiftedButton>
- <ShiftedButton
- secondary
- type="button"
- onClick={() => exportComponentAsPNG(props.compref, `paste-${props.hash}.png`)}>
- save png
- </ShiftedButton>
{renderable()}
<Theme
value={props.theme}