mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-12 07:58:49 +00:00
update to new widgets API error handling
This commit is contained in:
parent
fe4a967a15
commit
3393cbcfc1
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ export default function Component({ service }) {
|
|||
const { data: channelsData, error: channelsError } = useWidgetAPI(widget, "lineup");
|
||||
|
||||
if (channelsError) {
|
||||
return <Container error={t("widget.api_error")} />;
|
||||
return <Container error={channelsError} />;
|
||||
}
|
||||
|
||||
if (!channelsData) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue