fix: framer-motion warning for missing key prop
This commit is contained in:
@@ -213,12 +213,17 @@ function SharePopover({
|
|||||||
|
|
||||||
const doneButton = picker ? (
|
const doneButton = picker ? (
|
||||||
invitedInSession.length ? (
|
invitedInSession.length ? (
|
||||||
<ButtonSmall onClick={hidePicker} neutral>
|
<ButtonSmall onClick={hidePicker} key="done" neutral>
|
||||||
{t("Done")}
|
{t("Done")}
|
||||||
</ButtonSmall>
|
</ButtonSmall>
|
||||||
) : null
|
) : null
|
||||||
) : (
|
) : (
|
||||||
<Tooltip tooltip={t("Copy link")} delay={500} placement="top">
|
<Tooltip
|
||||||
|
tooltip={t("Copy link")}
|
||||||
|
delay={500}
|
||||||
|
placement="top"
|
||||||
|
key="copy-link"
|
||||||
|
>
|
||||||
<CopyToClipboard
|
<CopyToClipboard
|
||||||
text={urlify(documentPath(document))}
|
text={urlify(documentPath(document))}
|
||||||
onCopy={handleCopied}
|
onCopy={handleCopied}
|
||||||
|
|||||||
Reference in New Issue
Block a user