fix isClipboardSupported

main
Mike Fix 4 years ago
parent 62955fd472
commit 0b3956919f
No known key found for this signature in database
GPG Key ID: 1D85E862314CA79F

@ -45,7 +45,7 @@ function CopyEmbed({ mapper, title }) {
const popoutStyle = { width: '140px', right: 0 }
function useClipboardSupport() {
const [isClipboardSupports, setClipboardSupport] = React.useState(false)
const [isClipboardSupported, setClipboardSupport] = React.useState(false)
React.useEffect(() => {
setClipboardSupport(
@ -53,7 +53,7 @@ function useClipboardSupport() {
)
}, [])
return isClipboardSupports
return isClipboardSupported
}
function CopyMenu({ isVisible, toggleVisibility, copyImage, carbonRef }) {

Loading…
Cancel
Save