Migrate AvailabilityEditor
This commit is contained in:
parent
1a6d34ac59
commit
5abba62c66
11 changed files with 277 additions and 219 deletions
|
|
@ -24,7 +24,7 @@ const Copyable = ({ children, className, ...props }: CopyableProps) => {
|
|||
})
|
||||
.catch(e => console.error('Failed to copy', e))
|
||||
}
|
||||
title={navigator.clipboard ? t<string>('nav.title') : undefined}
|
||||
title={'clipboard' in navigator ? t<string>('nav.title') : undefined}
|
||||
className={makeClass(className, 'clipboard' in navigator && styles.copyable)}
|
||||
{...props}
|
||||
>{copied ?? children}</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue