From 10df97c54299bfdfd568c0681d180cc9c7058006 Mon Sep 17 00:00:00 2001 From: Renaud Chaput <renchap@gmail.com> Date: Thu, 19 Oct 2023 13:22:44 +0200 Subject: [PATCH] The `class` props should be `className` (#27462) --- .../mastodon/features/ui/components/link_footer.jsx | 2 +- .../mastodon/features/ui/components/navigation_panel.jsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/javascript/mastodon/features/ui/components/link_footer.jsx b/app/javascript/mastodon/features/ui/components/link_footer.jsx index 9585df2ec..6b1555243 100644 --- a/app/javascript/mastodon/features/ui/components/link_footer.jsx +++ b/app/javascript/mastodon/features/ui/components/link_footer.jsx @@ -100,7 +100,7 @@ class LinkFooter extends PureComponent { {DividingCircle} <a href={source_url} rel='noopener noreferrer' target='_blank'><FormattedMessage id='footer.source_code' defaultMessage='View source code' /></a> {DividingCircle} - <span class='version'>v{version}</span> + <span className='version'>v{version}</span> </p> </div> ); diff --git a/app/javascript/mastodon/features/ui/components/navigation_panel.jsx b/app/javascript/mastodon/features/ui/components/navigation_panel.jsx index 8006ca89a..22eee79c0 100644 --- a/app/javascript/mastodon/features/ui/components/navigation_panel.jsx +++ b/app/javascript/mastodon/features/ui/components/navigation_panel.jsx @@ -59,10 +59,10 @@ class NavigationPanel extends Component { <Link to='/' className='column-link column-link--logo'><WordmarkLogo /></Link> {transientSingleColumn ? ( - <div class='switch-to-advanced'> + <div className='switch-to-advanced'> {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)} </a> </div>