commercetools / sunrise-spa

SUNRISE shop template as a single-page application
https://sunrise-spa.now.sh
Apache License 2.0
51 stars 78 forks source link

fix missing locale #191

Closed harm-meijer closed 4 years ago

harm-meijer commented 4 years ago

Missing locale in url will be forwarded to locale from local storage or defaults to "en" but page still renders and gql query has missing locale causing an error.

Checklist

vercel[bot] commented 4 years ago

This pull request is being automatically deployed with ZEIT Now (learn more). To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/commercetools/sunrise-spa/c9ihrzsej ✅ Preview: https://sunrise-spa-git-graphql-fix.commercetools.now.sh

vercel[bot] commented 4 years ago

This pull request is being automatically deployed with ZEIT Now (learn more). To see the status of your deployment, click on the icon next to each commit.