Lint all the things
This commit is contained in:
@@ -6,7 +6,7 @@ const createDashboardQuery = (state) => {
|
||||
const componentBasedAdditions =
|
||||
state &&
|
||||
Array.isArray(state.layout) &&
|
||||
state.layout.map((item, index) => componentList[item.i].gqlFragment || "").join("");
|
||||
state.layout.map((item) => componentList[item.i].gqlFragment || "").join("");
|
||||
return gql`
|
||||
query QUERY_DASHBOARD_DETAILS { ${componentBasedAdditions || ""}
|
||||
monthly_sales: jobs(where: {_and: [
|
||||
|
||||
Reference in New Issue
Block a user