Echo 02a7f74976 [Glitch] Profile redesign: Show yourself in follower list
Port bbd88d356d772a5b8210fce06403ccd043a11f1a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2026-02-11 20:58:54 +01:00

33 lines
749 B
TypeScript

import type { FC } from 'react';
import { FormattedMessage } from 'react-intl';
import { TimelineHint } from '@/flavours/glitch/components/timeline_hint';
export const RemoteHint: FC<{ domain?: string; url: string }> = ({
domain,
url,
}) => {
if (!domain) {
return null;
}
return (
<TimelineHint
url={url}
message={
<FormattedMessage
id='hints.profiles.follows_may_be_missing'
defaultMessage='Follows for this profile may be missing.'
/>
}
label={
<FormattedMessage
id='hints.profiles.see_more_follows'
defaultMessage='See more follows on {domain}'
values={{ domain: <strong>{domain}</strong> }}
/>
}
/>
);
};