Revert "Revert "Add loading Animation to Most used Language card (#2197)" (#2396)" (#2419)

This reverts commit 4b8198fa21.
This commit is contained in:
Rick Staa
2023-01-16 12:30:39 +01:00
committed by GitHub
parent ad9db67b4c
commit 06a2a78cfc
5 changed files with 76 additions and 29 deletions
+2
View File
@@ -29,6 +29,7 @@ export default async (req, res) => {
locale,
border_radius,
border_color,
disable_animations,
} = req.query;
res.setHeader("Content-Type", "image/svg+xml");
@@ -75,6 +76,7 @@ export default async (req, res) => {
border_radius,
border_color,
locale: locale ? locale.toLowerCase() : null,
disable_animations: parseBoolean(disable_animations),
}),
);
} catch (err) {