Handling situation where React Router may not be available for a Tag Label.

This commit is contained in:
Roland 2023-05-03 12:46:57 -06:00
parent 0920383963
commit 2cbc6e00e0
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
8 changed files with 56 additions and 33 deletions

View file

@ -440,7 +440,7 @@ function ChannelRow({channel}) {
const {inverted} = React.useContext(ThemeContext);
const editTo = `/videos/channel/${channel.id}/edit`;
const buttonClass = `ui button secondary ${inverted ? 'inverted' : ''}`;
const buttonClass = `ui button secondary ${inverted}`;
return <TableRow>
<TableCell>