mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-07 09:35:54 -08:00
Run pre-commit hooks over existing codebase
Co-Authored-By: Ben Phelps <ben@phelps.io>
This commit is contained in:
@@ -6,7 +6,7 @@ export default function Component({ service }) {
|
||||
const { widget } = service;
|
||||
|
||||
const { data: containersData, error: containersError } = useWidgetAPI(widget, "containers");
|
||||
|
||||
|
||||
if (containersError) {
|
||||
return <Container service={service} error={containersError} />;
|
||||
}
|
||||
@@ -21,7 +21,7 @@ export default function Component({ service }) {
|
||||
}
|
||||
|
||||
const totalCount = containersData.length;
|
||||
const updatesAvailable = containersData.filter(container => container.updateAvailable).length;
|
||||
const updatesAvailable = containersData.filter((container) => container.updateAvailable).length;
|
||||
|
||||
return (
|
||||
<Container service={service}>
|
||||
|
||||
@@ -6,7 +6,7 @@ const widget = {
|
||||
|
||||
mappings: {
|
||||
containers: {
|
||||
endpoint: "api/containers"
|
||||
endpoint: "api/containers",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user