diff options
| author | jackyzha0 <[email protected]> | 2020-05-23 10:59:31 -0700 |
|---|---|---|
| committer | jackyzha0 <[email protected]> | 2020-05-23 10:59:31 -0700 |
| commit | f4cb08e7a1eaebf3c60506e3a4941c903619c448 (patch) | |
| tree | a29777c693a02ec0b0bd2713979272f3b155e67f /frontend/src/components/PasteInfo.js | |
| parent | wip render dispatch (diff) | |
| download | ctrl-v-f4cb08e7a1eaebf3c60506e3a4941c903619c448.tar.xz ctrl-v-f4cb08e7a1eaebf3c60506e3a4941c903619c448.zip | |
fix more styling problems
Diffstat (limited to 'frontend/src/components/PasteInfo.js')
| -rw-r--r-- | frontend/src/components/PasteInfo.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/components/PasteInfo.js b/frontend/src/components/PasteInfo.js index 9f0d3bf..0b4188d 100644 --- a/frontend/src/components/PasteInfo.js +++ b/frontend/src/components/PasteInfo.js @@ -2,7 +2,7 @@ import React from 'react'; import styled from 'styled-components' import { useHistory } from 'react-router-dom'; import { ThemeInput } from './Inputs' -import { exportComponentAsJPEG } from "react-component-export-image"; +import { exportComponentAsPNG } from "react-component-export-image"; const Bold = styled.span` font-weight: 700 @@ -63,7 +63,7 @@ const PasteInfo = (props) => { <Button className="lt-shadow lt-hover" type="button" - onClick={() => exportComponentAsJPEG(props.compref, `paste-${props.hash}.png`)}> + onClick={() => exportComponentAsPNG(props.compref, `paste-${props.hash}.png`)}> save png </Button> {renderable()} |