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:
@@ -10,14 +10,14 @@ export default function Component({ service }) {
|
||||
const { widget } = service;
|
||||
const { data: resultData, error: resultError } = useWidgetAPI(widget, "result");
|
||||
|
||||
|
||||
if (resultError) {
|
||||
return <Container service={service} error={resultError} />;
|
||||
}
|
||||
|
||||
if (!resultData) {
|
||||
return (
|
||||
<Container service={service}>,
|
||||
<Container service={service}>
|
||||
,
|
||||
<Block label="caddy.upstreams" />
|
||||
<Block label="caddy.requests" />
|
||||
<Block label="caddy.requests_failed" />
|
||||
|
||||
Reference in New Issue
Block a user