More Omada widget cleanup

This commit is contained in:
Michael Shamoon
2022-12-21 13:04:14 -08:00
parent b01e6eaf56
commit 952305492c
4 changed files with 35 additions and 51 deletions

View File

@@ -9,7 +9,7 @@ export default function Component({ service }) {
const { widget } = service;
const { data: omadaData, error: omadaAPIError } = useWidgetAPI(widget, "stats", {
const { data: omadaData, error: omadaAPIError } = useWidgetAPI(widget, {
refreshInterval: 5000,
});
@@ -23,8 +23,6 @@ export default function Component({ service }) {
<Block label="omada.connectedAp" />
<Block label="omada.activeUser" />
<Block label="omada.alerts" />
<Block label="omada.connectedGateway" />
<Block label="omada.connectedSwitches" />
</Container>
);
}