Skip to content

Commit

Permalink
[fix] copy map config style (#2878)
Browse files Browse the repository at this point in the history
Signed-off-by: Isaac Brodsky <isaac@isaacbrodsky.com>
  • Loading branch information
isaacbrodsky authored Jan 1, 2025
1 parent 34444fa commit d549fcd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const ExportJsonMapUnmemoized = ({config = {}}: ExportJsonPropTypes) => {
<div className="viewer">
<JSONPretty id="json-pretty" json={config} />
<CopyToClipboard text={JSON.stringify(config)} onCopy={() => setCopy(true)}>
<Button width="80px">{copied ? 'Copied!' : 'Copy'}</Button>
<Button width="80px" className="copy-button">{copied ? 'Copied!' : 'Copy'}</Button>
</CopyToClipboard>
</div>
<div className="disclaimer">
Expand Down

0 comments on commit d549fcd

Please sign in to comment.