Skip to content

Commit

Permalink
Update Optional chaining due eslint in js
Browse files Browse the repository at this point in the history
  • Loading branch information
iago1501 authored Dec 13, 2023
1 parent 3c8d5b0 commit 49240c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/StoreWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const StoreWrapper = ({ children, CustomContext }) => {

const description = (metaTags && metaTags.description) || metaTagDescription
const title = pageTitle || titleTag
const robots = metaTags?.robots || metaTagRobots
const robots = (metaTags || {}).robots || metaTagRobots

const [queryMatch] = route.path.match(/\?.*/) || ['?']

Expand Down

0 comments on commit 49240c6

Please sign in to comment.