Skip to content

Commit

Permalink
πŸ•·[React][Sample] Typo in sitecore config (#783)
Browse files Browse the repository at this point in the history
* Fix typo in sitecore config - react

* Remove console.log πŸ±β€πŸ‘€
  • Loading branch information
CobyPear authored Aug 17, 2021
1 parent 6e38445 commit 4c781c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion samples/react/sitecore/config/JssReactWeb.config
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<app name="JssReactWeb"
sitecorePath="/sitecore/content/JssReactWeb"
useLanguageSpecificLayout="true"
raphQLEndpoint="/sitecore/api/graph/edge"
graphQLEndpoint="/sitecore/api/graph/edge"
inherits="defaults" />
</apps>
<!--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ const GraphQLIntegratedDemo = (props) => {
<br />
children:
<ul>
{console.log(contextItem.children)}
{contextItem?.children?.results.map((child) => (
<li key={child.id}>
<RouterLink to={child.url?.path}>{child.pageTitle?.value}</RouterLink>&nbsp;
Expand Down

0 comments on commit 4c781c3

Please sign in to comment.