-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(frontend): feature flag for the Swap feature (#3906)
# Motivation A feature flag for the Swap feature. Note: `feat/swap` will be a base branch for this functionality until the whole feature is ready to go to staging.
- Loading branch information
1 parent
3ba36b5
commit 698da79
Showing
3 changed files
with
6 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
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 SWAP_ACTION_ENABLED = | ||
JSON.parse(import.meta.env.VITE_SWAP_ACTION_ENABLED ?? false) === true; |