-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(build): add Solana feature flag (#3923)
# Motivation We start the integration of Solana creating a feature flag to enable or disabled the access to Solana network.
- Loading branch information
1 parent
cde0306
commit d9915f9
Showing
2 changed files
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// TODO: to be removed when the feature is fully implemented | ||
export const SOLANA_NETWORK_ENABLED = | ||
JSON.parse(import.meta.env.VITE_SOLANA_NETWORK_ENABLED ?? false) === true; |