mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-12 10:33:49 +00:00
Improved ShortUrlsRow test covering new status icon
This commit is contained in:
@@ -75,12 +75,8 @@ export const ShortUrlStatus: FC<ShortUrlStatusProps> = ({ shortUrl }) => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<span
|
||||
style={{ cursor: !description ? undefined : 'help' }}
|
||||
ref={mutableRefToElementRef(tooltipRef)}
|
||||
className={className}
|
||||
>
|
||||
<FontAwesomeIcon icon={icon} />
|
||||
<span style={{ cursor: !description ? undefined : 'help' }} ref={mutableRefToElementRef(tooltipRef)}>
|
||||
<FontAwesomeIcon icon={icon} className={className} />
|
||||
</span>
|
||||
<UncontrolledTooltip target={(() => tooltipRef.current) as any} placement="bottom">
|
||||
{description}
|
||||
|
||||
Reference in New Issue
Block a user