Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(examples): shorten if else statement (#11042)
<!-- Have any questions? Check out the contributing docs at https://gatsby.app/contribute, or ask in this Pull Request and a Gatsby maintainer will be happy to help :) --> ## Description There is a statement which can be simplified to a simple single return statement. <!-- Write a brief description of the changes introduced by this PR --> ## Related Issues <!-- Link to the issue that is fixed by this PR (if there is one) e.g. Fixes #1234, Addresses #1234, Related to #1234, etc. -->
- Loading branch information