m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-17 01:23:39 -05:00

Fix mobile dialog not taking screen width

This commit is contained in:
Sergio
2025-02-01 13:53:15 +02:00
parent a5bbdd0e33
commit 2ef77c9a55
3 changed files with 4 additions and 4 deletions

View File

@@ -66,14 +66,14 @@ function App() {
<Search onChange={setSearchQuery} />
<ul>
{Object.entries(
data.images.reduce(
data.images.reduce<Record<string, typeof data.images>>(
(acc, image) => {
const server = image.server ?? "";
if (!acc[server]) acc[server] = [];
acc[server].push(image);
return acc;
},
{} as Record<string, typeof data.images>,
{},
),
)
.sort()