feat: align frontend languages with posts api
This commit is contained in:
@@ -26,8 +26,7 @@ export function MessageStream({ scope }: MessageStreamProps) {
|
||||
const { items, isLoading, error, hasMore, loadMore, reset } =
|
||||
usePostStream(params);
|
||||
const groups = useGroupedByDay(items, lang);
|
||||
const retryLabel =
|
||||
lang === "zh-TW" ? "重試" : lang === "zh-CN" ? "重试" : "Retry";
|
||||
const retryLabel = lang === "zh" ? "重试" : "Retry";
|
||||
|
||||
const sentinelRef = useRef<HTMLDivElement>(null);
|
||||
const hasMoreRef = useRef(hasMore);
|
||||
|
||||
Reference in New Issue
Block a user