Enable the live location share button (#8056)

This commit is contained in:
Andy Balaam
2022-03-16 09:37:09 +00:00
committed by GitHub
parent e1fdff46f5
commit cbf5fbf870
3 changed files with 29 additions and 23 deletions

View File

@@ -56,8 +56,6 @@ const ShareTypeOption: React.FC<ShareTypeOptionProps> = ({
element='button'
className='mx_ShareType_option'
onClick={onClick}
// not yet implemented
disabled={shareType === LocationShareType.Live}
{...rest}>
{ shareType === LocationShareType.Own && <UserAvatar /> }
{ shareType === LocationShareType.Pin &&