Skip to content

Commit

Permalink
update env var (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjpence authored Dec 20, 2023
1 parent c47a521 commit 86d1181
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/nextjs/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
# To access the values stored in this env file you can use: process.env.VARIABLENAME
# You'll need to prefix the variables names with NEXT_PUBLIC_ if you want to access them on the client side.
# More info: https://nextjs.org/docs/pages/building-your-application/configuring/environment-variables
NEXT_PUBLIC_ALCHEMY_API_KEY=
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=
NEXT_PUBLIC_CHAIN_NAME="chainname"
NEXT_PUBLIC_BACKEND_API_URL="someURL"
NEXT_PUBLIC_BACKEND_API_TOKEN="token"
1 change: 1 addition & 0 deletions packages/nextjs/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ type User = {

// Creating a functional component for the homepage
const Home: NextPage = () => {
// TODO: refactor
const getChain = (chainName: string) => {
switch (chainName) {
case "hardhat":
Expand Down

0 comments on commit 86d1181

Please sign in to comment.