chore: Update translations

This commit is contained in:
Martti Malmi 2023-12-27 20:42:52 +00:00
parent 3e52bb755e
commit e7e7fdc14d
2 changed files with 2 additions and 6 deletions

View File

@ -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();

View File

@ -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";