forked from Kieran/snort
chore: Update translations
This commit is contained in:
parent
3e52bb755e
commit
e7e7fdc14d
@ -2,7 +2,7 @@ import { useLocale } from "@/IntlProvider";
|
||||
import NostrBandApi from "@/External/NostrBand";
|
||||
import { FormattedMessage } from "react-intl";
|
||||
import useCachedFetch from "@/Hooks/useCachedFetch";
|
||||
import {ErrorOrOffline} from "@/Element/ErrorOrOffline";
|
||||
import { ErrorOrOffline } from "@/Element/ErrorOrOffline";
|
||||
|
||||
export function TrendingHashTagsLine(props: { onClick: (tag: string) => void }) {
|
||||
const { lang } = useLocale();
|
||||
|
@ -26,11 +26,7 @@ export default function TrendingNotes({ count = Infinity, small = false }) {
|
||||
data: trendingNotesData,
|
||||
isLoading,
|
||||
error,
|
||||
} = useCachedFetch(
|
||||
trendingNotesUrl,
|
||||
storageKey,
|
||||
data => data.notes.map(a => a.event),
|
||||
);
|
||||
} = useCachedFetch(trendingNotesUrl, storageKey, data => data.notes.map(a => a.event));
|
||||
|
||||
const login = useLogin();
|
||||
const displayAsInitial = small ? "list" : login.feedDisplayAs ?? "list";
|
||||
|
Loading…
Reference in New Issue
Block a user