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