mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-10 23:38:46 +00:00
Feature: Support pi-hole v6 (#3207)
This commit is contained in:
parent
b0d57866a0
commit
29ac7bfea7
5 changed files with 107 additions and 13 deletions
|
@ -9,7 +9,7 @@ export default function Component({ service }) {
|
|||
|
||||
const { widget } = service;
|
||||
|
||||
const { data: piholeData, error: piholeError } = useWidgetAPI(widget, "summaryRaw");
|
||||
const { data: piholeData, error: piholeError } = useWidgetAPI(widget);
|
||||
|
||||
if (piholeError) {
|
||||
return <Container service={service} error={piholeError} />;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue