]> cat aescling's git repositories - mastodon.git/blob - app/javascript/mastodon/components/timeline_hint.js
Merge branch 'main' into glitch-soc/merge-upstream
[mastodon.git] / app / javascript / mastodon / components / timeline_hint.js
1 import React from 'react';
2 import PropTypes from 'prop-types';
3 import { FormattedMessage } from 'react-intl';
4
5 const TimelineHint = ({ resource, url }) => (
6 <div className='timeline-hint'>
7 <strong><FormattedMessage id='timeline_hint.remote_resource_not_displayed' defaultMessage='{resource} from other servers are not displayed.' values={{ resource }} /></strong>
8 <br />
9 <a href={url} target='_blank'><FormattedMessage id='account.browse_more_on_origin_server' defaultMessage='Browse more on the original profile' /></a>
10 </div>
11 );
12
13 TimelineHint.propTypes = {
14 resource: PropTypes.node.isRequired,
15 url: PropTypes.string.isRequired,
16 };
17
18 export default TimelineHint;
This page took 0.072035 seconds and 4 git commands to generate.