fix: ensure top langs error card dont ignore customization options (#4538)

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
This commit is contained in:
Ophelia Goldstein
2025-10-25 16:52:09 +02:00
committed by martin-mfg
co-authored by Alexandr
parent 739fd1739a
commit 70b5117496
+21
View File
@@ -66,6 +66,13 @@ export default async (req, res) => {
renderError({
message: "Something went wrong",
secondaryMessage: "Locale not found",
renderOptions: {
title_color,
text_color,
bg_color,
border_color,
theme,
},
}),
);
}
@@ -79,6 +86,13 @@ export default async (req, res) => {
renderError({
message: "Something went wrong",
secondaryMessage: "Incorrect layout input",
renderOptions: {
title_color,
text_color,
bg_color,
border_color,
theme,
},
}),
);
}
@@ -92,6 +106,13 @@ export default async (req, res) => {
renderError({
message: "Something went wrong",
secondaryMessage: "Incorrect stats_format input",
renderOptions: {
title_color,
text_color,
bg_color,
border_color,
theme,
},
}),
);
}