diff --git a/app/javascript/mastodon/features/getting_started/index.tsx b/app/javascript/mastodon/features/getting_started/index.tsx index 5497b2de89..84c786fa06 100644 --- a/app/javascript/mastodon/features/getting_started/index.tsx +++ b/app/javascript/mastodon/features/getting_started/index.tsx @@ -4,16 +4,14 @@ import { Helmet } from '@unhead/react/helmet'; import { Column } from 'mastodon/components/column'; -import { NavigationPanel, messages } from '../navigation_panel'; +import { NavigationPanel } from '../navigation_panel'; import { LinkFooter } from '../ui/components/link_footer'; const GettingStarted: React.FC = () => { const intl = useIntl(); return ( - + diff --git a/app/javascript/mastodon/features/navigation_panel/index.tsx b/app/javascript/mastodon/features/navigation_panel/index.tsx index 9ac2ee461e..a734cb882b 100644 --- a/app/javascript/mastodon/features/navigation_panel/index.tsx +++ b/app/javascript/mastodon/features/navigation_panel/index.tsx @@ -60,7 +60,7 @@ import { MoreLink } from './components/more_link'; import { SignInBanner } from './components/sign_in_banner'; import { Trends } from './components/trends'; -export const messages = defineMessages({ +const messages = defineMessages({ home: { id: 'tabs_bar.home', defaultMessage: 'Home' }, notifications: { id: 'tabs_bar.notifications', @@ -238,7 +238,10 @@ export const NavigationPanel: React.FC<{ multiColumn?: boolean }> = ({ } return ( -
+ ); }; export const CollapsibleNavigationPanel: React.FC = () => { - const intl = useIntl(); const open = useAppSelector((state) => state.navigation.open); const dispatch = useAppDispatch(); const openable = useBreakpoint('openable'); @@ -534,8 +536,7 @@ export const CollapsibleNavigationPanel: React.FC = () => { const showOverlay = openable && open; return ( - +
); };