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:
@@ -9,9 +9,11 @@ export default function Component({ service }) {
|
||||
const { data: jobStats, error: jobStatsError } = useWidgetAPI(widget, "job_stats");
|
||||
|
||||
if (printerStatsError && jobStats) {
|
||||
return <Container service={service}>
|
||||
return (
|
||||
<Container service={service}>
|
||||
<Block label="octoprint.printer_state" value={jobStats.state} />
|
||||
</Container>
|
||||
);
|
||||
}
|
||||
|
||||
if (printerStatsError) {
|
||||
|
||||
Reference in New Issue
Block a user