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-07 23:32:56 +03:00
committed by GitHub
co-authored by Alexandr
parent e9d0e8fd17
commit 66764616fa
+21
View File
@@ -64,6 +64,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,
},
}),
);
}
@@ -77,6 +84,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,
},
}),
);
}
@@ -90,6 +104,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,
},
}),
);
}