diff --git a/src/pages/index.js b/src/pages/index.js index 58e478aa..91af491e 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -233,8 +233,7 @@ export default () => { color: stringColor }} onClick={event => - toClipboard(event.target.textContent, 'SEO Tags') - } + toClipboard(event.target.textContent, 'SEO Tags')} children={shareCode(screenshotUrl)} /> @@ -260,8 +259,7 @@ export default () => { }} children={`Generated by https://cards.microlink.io`} onClick={event => - toClipboard(event.target.textContent, 'HTML') - } + toClipboard(event.target.textContent, 'HTML')} /> @@ -286,8 +284,7 @@ export default () => { }} children={`![Generated by https://cards.microlink.io](${screenshotUrl})`} onClick={event => - toClipboard(event.target.textContent, 'Markdown') - } + toClipboard(event.target.textContent, 'Markdown')} /> @@ -312,8 +309,7 @@ export default () => { }} children={screenshotUrl} onClick={event => - toClipboard(event.target.textContent, 'URL') - } + toClipboard(event.target.textContent, 'URL')} />