Skip to content

Commit

Permalink
fix: vite to env
Browse files Browse the repository at this point in the history
  • Loading branch information
zarej committed Dec 25, 2023
1 parent a2a7fb7 commit c6d1d56
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env.dev
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VITE_NETWORK_NAME=
VITE_SENTRY_DSN=
ENABLE_EXPERIMENTAL_MAX_TOKENS_SWAP=true
VITE_ENABLE_EXPERIMENTAL_MAX_TOKENS_SWAP=true
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VITE_NETWORK_NAME=
VITE_SENTRY_DSN=
ENABLE_EXPERIMENTAL_MAX_TOKENS_SWAP=false
VITE_ENABLE_EXPERIMENTAL_MAX_TOKENS_SWAP=false
4 changes: 2 additions & 2 deletions src/components/molecule/TokenAmountInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ const TokenAmountInput = ({
: tokenBalance || 0}
{tokenText &&
onMaxClick &&
process.env.ENABLE_EXPERIMENTAL_MAX_TOKENS_SWAP &&
process.env.ENABLE_EXPERIMENTAL_MAX_TOKENS_SWAP == "true" && (
process.env.VITE_ENABLE_EXPERIMENTAL_MAX_TOKENS_SWAP &&
process.env.VITE_ENABLE_EXPERIMENTAL_MAX_TOKENS_SWAP == "true" && (
<button
className="inline-flex h-5 w-11 flex-col items-start justify-start gap-2 px-1.5 text-pink"
onClick={onMaxClick}
Expand Down

0 comments on commit c6d1d56

Please sign in to comment.