From 66764616faffae43efca9a0c2c1001ba33fb6d20 Mon Sep 17 00:00:00 2001 From: Ophelia Goldstein <159258143+opheliagoldstein@users.noreply.github.com> Date: Tue, 7 Oct 2025 23:32:56 +0300 Subject: [PATCH] fix: ensure top langs error card dont ignore customization options (#4538) Co-authored-by: Alexandr --- api/top-langs.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/api/top-langs.js b/api/top-langs.js index d4b51c6b..3e903428 100644 --- a/api/top-langs.js +++ b/api/top-langs.js @@ -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, + }, }), ); }