fix: home screen translation for custom headers (#1001)

Signed-off-by: Lance Chant <13349722+lancechant@users.noreply.github.com>
Co-authored-by: Gauvain <68083474+Gauvino@users.noreply.github.com>
This commit is contained in:
lance chant
2025-09-03 15:31:43 +02:00
committed by GitHub
parent ae720d6bb4
commit 2d3344f013

View File

@@ -316,7 +316,7 @@ export const HomeIndex = () => {
for (const [index, section] of settings.home.sections.entries()) {
const id = section.items?.title || `section-${index}`;
ss.push({
title: id,
title: t(`${id}`),
queryKey: ["home", id],
queryFn: async () => {
if (section.items) {