mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
Lint
This commit is contained in:
parent
ec920a7bb7
commit
b4b11e85c4
@ -20,7 +20,7 @@ if (responseError) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (response) {
|
if (response) {
|
||||||
const platforms = response.filter(x => x.rom_count !== 0).length
|
const platforms = response.filter((x) => x.rom_count !== 0).length;
|
||||||
const totalRoms = response.reduce((total, stat) => total + stat.rom_count, 0);
|
const totalRoms = response.reduce((total, stat) => total + stat.rom_count, 0);
|
||||||
return (
|
return (
|
||||||
<Container service={service}>
|
<Container service={service}>
|
||||||
|
@ -7,7 +7,7 @@ proxyHandler: genericProxyHandler,
|
|||||||
mappings: {
|
mappings: {
|
||||||
statistics: {
|
statistics: {
|
||||||
endpoint: "platforms",
|
endpoint: "platforms",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user