fix(share): 🐛 undefined when copying custom domain
This commit is contained in:
@ -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>
|
||||
)
|
||||
|
Reference in New Issue
Block a user