Skip to content

Commit

Permalink
Merge pull request #90 from vtex-apps/fix/app-list-routes
Browse files Browse the repository at this point in the history
Fix /apps/content-blocks/ and /apps/functional content not being rendered
  • Loading branch information
victorhmp authored Apr 28, 2020
2 parents 358c625 + 082abf4 commit 5cbe2e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Fixed
- Component grid would be rendered empty due to a variable being passed to the ComponentList query with the wrong value.

## [2.0.3] - 2020-04-22
### Changed
Expand Down
2 changes: 1 addition & 1 deletion react/ComponentsGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const ComponentsGrid: FC = () => {
page,
} = useRuntime()

const useAppsDirectory = page === 'docs.apps-list'
const useAppsDirectory = page === 'docs-ui.apps-list'

const { data, error, loading } = useQuery<{
componentsList: Record<
Expand Down

0 comments on commit 5cbe2e9

Please sign in to comment.