Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: use generic environment variable example to avoid confusion #56

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

dustin-jw
Copy link
Contributor

Description

The GOOGLE_API_KEY example for loading an environment variable could lead to confusion, since a developer could reasonably expect that it was wired up to a tag manager/analytics script, then be surprised that it didn't do anything. This replaces that key with something that's more clearly an example and includes a comment to reinforce that it's an example.

Closes #54

To Validate

  1. Make sure all PR Checks have passed
  2. Pull down this branch
  3. Run npm start
  4. Make sure your site still works as expected (the change shouldn't change any behavior)

@dustin-jw dustin-jw force-pushed the refactor--env-var-example branch from 4ee3bc6 to 18e25fb Compare September 27, 2023 14:31
@dustin-jw dustin-jw merged commit 18e25fb into main Sep 27, 2023
1 check passed
@dustin-jw dustin-jw deleted the refactor--env-var-example branch September 27, 2023 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace GOOGLE_API_KEY example with something more generic
2 participants