mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 07:23:43 +01:00
Fix "undefined" in className (#3939)
This commit is contained in:
parent
3d4e21f1ec
commit
099a3b4eac
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ export default class Permalink extends React.PureComponent {
|
||||||
const { href, children, className, ...other } = this.props;
|
const { href, children, className, ...other } = this.props;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<a href={href} onClick={this.handleClick} {...other} className={'permalink ' + className}>
|
<a href={href} onClick={this.handleClick} {...other} className={`permalink${className ? ' ' + className : ''}`}>
|
||||||
{children}
|
{children}
|
||||||
</a>
|
</a>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue