mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-28 00:34:16 +00:00
The class
props should be className
(#27462)
This commit is contained in:
parent
c66ade7de8
commit
d5bc10b711
|
@ -100,7 +100,7 @@ class LinkFooter extends PureComponent {
|
||||||
{DividingCircle}
|
{DividingCircle}
|
||||||
<a href={source_url} rel='noopener noreferrer' target='_blank'><FormattedMessage id='footer.source_code' defaultMessage='View source code' /></a>
|
<a href={source_url} rel='noopener noreferrer' target='_blank'><FormattedMessage id='footer.source_code' defaultMessage='View source code' /></a>
|
||||||
{DividingCircle}
|
{DividingCircle}
|
||||||
<span class='version'>v{version}</span>
|
<span className='version'>v{version}</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
@ -59,10 +59,10 @@ class NavigationPanel extends Component {
|
||||||
<Link to='/' className='column-link column-link--logo'><WordmarkLogo /></Link>
|
<Link to='/' className='column-link column-link--logo'><WordmarkLogo /></Link>
|
||||||
|
|
||||||
{transientSingleColumn ? (
|
{transientSingleColumn ? (
|
||||||
<div class='switch-to-advanced'>
|
<div className='switch-to-advanced'>
|
||||||
{intl.formatMessage(messages.openedInClassicInterface)}
|
{intl.formatMessage(messages.openedInClassicInterface)}
|
||||||
{" "}
|
{" "}
|
||||||
<a href={`/deck${location.pathname}`} class='switch-to-advanced__toggle'>
|
<a href={`/deck${location.pathname}`} className='switch-to-advanced__toggle'>
|
||||||
{intl.formatMessage(messages.advancedInterface)}
|
{intl.formatMessage(messages.advancedInterface)}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue