diff --git a/src/components/ShareCanvasLinkDialog.jsx b/src/components/ShareCanvasLinkDialog.jsx index 37ecb07..b28d301 100644 --- a/src/components/ShareCanvasLinkDialog.jsx +++ b/src/components/ShareCanvasLinkDialog.jsx @@ -42,7 +42,7 @@ const ShareCanvasLinkDialog = ({ t, updateConfig, }) => { - const { dialogOpen, enabled, showRightsInformation, getCanvasLink } = config; + const { dialogOpen, enabled, showRightsInformation, getCanvasLink, providers } = config; const [copiedToClipboard, setCopiedToClipboard] = useState(false); const { actions, actionButtons, alert } = useStyles(); @@ -107,7 +107,7 @@ const ShareCanvasLinkDialog = ({ - {["envelope", "facebook", "pinterest", "twitter", "whatsapp"].map( + {providers.map( (p) => (