chore: add code formatting and linting (#952)
This commit is contained in:
@ -13,7 +13,7 @@ import '../css/imports/docs.css';
|
||||
const toMenu = (menu, nav) =>
|
||||
menu.map(group => ({
|
||||
title: group.title,
|
||||
group: nav.group.find(g => g.fieldValue === group.name)
|
||||
group: nav.group.find(g => g.fieldValue === group.name),
|
||||
}));
|
||||
|
||||
const DocPage = ({ data, location, history }) => {
|
||||
@ -87,10 +87,7 @@ export const pageQuery = graphql`
|
||||
}
|
||||
widgets: allMarkdownRemark(
|
||||
sort: { fields: [frontmatter___label], order: ASC }
|
||||
filter: {
|
||||
frontmatter: { label: { ne: null } }
|
||||
fields: { slug: { regex: "/widgets/" } }
|
||||
}
|
||||
filter: { frontmatter: { label: { ne: null } }, fields: { slug: { regex: "/widgets/" } } }
|
||||
) {
|
||||
edges {
|
||||
node {
|
||||
|
Reference in New Issue
Block a user