diff --git a/.changeset/famous-keys-drive.md b/.changeset/famous-keys-drive.md new file mode 100644 index 000000000..fb7041b97 --- /dev/null +++ b/.changeset/famous-keys-drive.md @@ -0,0 +1,5 @@ +--- +"create-eth": patch +--- + +add possibility to use multiple variables in .env.example diff --git a/templates/base/packages/nextjs/.env.example.template.mjs b/templates/base/packages/nextjs/.env.example.template.mjs index 6828d66a8..31192a1b8 100644 --- a/templates/base/packages/nextjs/.env.example.template.mjs +++ b/templates/base/packages/nextjs/.env.example.template.mjs @@ -14,7 +14,7 @@ const contents = ({ additionalVars }) => { # More info: https://nextjs.org/docs/pages/building-your-application/configuring/environment-variables NEXT_PUBLIC_ALCHEMY_API_KEY= NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID= -${additionalVars.join("\n")} +${additionalVars[0].join("\n")} ` };