feat(SW-322): simplify condition
This commit is contained in:
@@ -18,7 +18,7 @@ export default function Shortcut({ linkList }: ShortcutsListProps) {
|
|||||||
className={styles.link}
|
className={styles.link}
|
||||||
>
|
>
|
||||||
<Body textTransform="bold" color="burgundy">
|
<Body textTransform="bold" color="burgundy">
|
||||||
<span>{shortcut.text ? shortcut.text : shortcut.title}</span>
|
<span>{shortcut.text || shortcut.title}</span>
|
||||||
</Body>
|
</Body>
|
||||||
<ArrowRightIcon color="burgundy" width={24} height={24} />
|
<ArrowRightIcon color="burgundy" width={24} height={24} />
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
Reference in New Issue
Block a user