Skip to content

Commit

Permalink
fix: add missing dep @mantine/hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Kav91 committed Nov 9, 2023
1 parent 1dfa96b commit 3a2cb36
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nr1.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"schemaType": "NERDPACK",
"id": "2ca7b314-05f7-4618-894a-54981539975f",
"id": "d997a1e4-423d-4d01-b450-da8a4465f60e",
"displayName": "Status Widget Pack",
"description": "Status widget visualizations for dashboards"
}
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"dv2": "2ca7b314-05f7-4618-894a-54981539975f"
},
"dependencies": {
"@mantine/hooks": "^7.2.1",
"@newrelic/nr1-community": "^1.2.0",
"async": "^3.2.0",
"lodash.groupby": "^4.6.0",
Expand Down
4 changes: 4 additions & 0 deletions visualizations/status-table/status-table-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ export default function StatusTableWidget(props) {
}

if (nrdbResult?.error) {
// eslint-disable-next-line
console.log('nrdb error ->', nrdbResult);
return (
<ErrorState
errors={[nrdbResult?.error?.message || '']}
Expand Down Expand Up @@ -515,6 +517,8 @@ export default function StatusTableWidget(props) {
</>
);
} else {
// eslint-disable-next-line
console.log('unhandled case', nrdbResult, props);
return <></>;
}
}

0 comments on commit 3a2cb36

Please sign in to comment.