2
0

fix(share): 🐛 undefined when copying custom domain

This commit is contained in:
Baptiste Arnaud
2022-04-08 06:32:42 -05:00
parent 519723b2d8
commit 6e90ad1b70

View File

@ -50,7 +50,7 @@ export const EditableUrl = ({
<HStack>
<EditButton size="xs" />
<CopyButton size="xs" textToCopy={`${hostname}/${pathname}`} />
<CopyButton size="xs" textToCopy={`${hostname}/${pathname ?? ''}`} />
</HStack>
</Editable>
)