mobile support for stats on the landing page
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 58s

This commit is contained in:
Lee 2024-04-18 02:35:16 +01:00
parent b978bc14df
commit 9830a21476

@ -39,7 +39,7 @@ export function Stats(): ReactElement {
const metrics = lastMessage !== null ? JSON.parse(lastMessage.data).metrics : undefined; const metrics = lastMessage !== null ? JSON.parse(lastMessage.data).metrics : undefined;
return ( return (
<div className="flex gap-4"> <div className="flex gap-4 flex-wrap justify-center">
{stats.map((stat, index) => { {stats.map((stat, index) => {
const value = metrics ? metrics[stat.id] : "???"; const value = metrics ? metrics[stat.id] : "???";