Skip to content

Commit

Permalink
Fixing linters
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaHegde committed Oct 3, 2023
1 parent ad01567 commit f1b687d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@
async function getDashboardsAndInvalidate() {
const dashboardListItems = await getDashboardsForProject($proj.data);
const dashboardNames = dashboardListItems.map((listing) => listing.name);
const dashboardNames = dashboardListItems.map(
(listing) => listing.meta.name.name
);
return invalidateDashboardsQueries(queryClient, dashboardNames);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@
async function getDashboardsAndInvalidate() {
const dashboardListings = await getDashboardsForProject($project.data);
const dashboardNames = dashboardListings.map((listing) => listing.name);
const dashboardNames = dashboardListings.map(
(listing) => listing.meta.name.name
);
return invalidateDashboardsQueries(queryClient, dashboardNames);
}
Expand Down
4 changes: 0 additions & 4 deletions web-common/src/features/entity-management/resources-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,6 @@ export function getAllErrorsForFile(
// TODO: what should the error be for failed get resource API
return [];
}
console.log(
filePath,
projectParser.data?.projectParser?.state?.parseErrors
);
return [
...(projectParser.data?.projectParser?.state?.parseErrors ?? []).filter(
(e) => e.filePath === filePath
Expand Down

0 comments on commit f1b687d

Please sign in to comment.