Rewrite <NotSignedInIndicator /> as FC (#24903)

local
たいち ひ 1 year ago committed by GitHub
parent 6fdbee240c
commit 490ccbf40b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/javascript/mastodon/components/not_signed_in_indicator.tsx

@ -1,7 +1,7 @@
import React from 'react';
import { FormattedMessage } from 'react-intl';
const NotSignedInIndicator = () => (
export const NotSignedInIndicator: React.FC = () => (
<div className='scrollable scrollable--flex'>
<div className='empty-column-indicator'>
<FormattedMessage id='not_signed_in_indicator.not_signed_in' defaultMessage='You need to sign in to access this resource.' />
Loading…
Cancel
Save