Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
d41e3c03
Unverified
Commit
d41e3c03
authored
Aug 03, 2022
by
Jordan Frankfurt
Committed by
GitHub
Aug 03, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ts): remove constant enum (#4261)
parent
ed5902ad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
constants.ts
src/components/AmplitudeAnalytics/constants.ts
+4
-4
No files found.
src/components/AmplitudeAnalytics/constants.ts
View file @
d41e3c03
...
...
@@ -77,7 +77,7 @@ export enum SWAP_PRICE_UPDATE_USER_RESPONSE {
/**
* Known pages in the app. Highest order context.
*/
export
const
enum
PageName
{
export
enum
PageName
{
EXPLORE_PAGE
=
'
explore-page
'
,
POOL_PAGE
=
'
pool-page
'
,
SWAP_PAGE
=
'
swap-page
'
,
...
...
@@ -90,14 +90,14 @@ export const enum PageName {
* eg a `back` button in a modal will have the same `element`,
* but a different `section`.
*/
export
const
enum
SectionName
{
export
enum
SectionName
{
CURRENCY_INPUT_PANEL
=
'
swap-currency-input
'
,
CURRENCY_OUTPUT_PANEL
=
'
swap-currency-output
'
,
// alphabetize additional section names.
}
/** Known modals for analytics purposes. */
export
const
enum
ModalName
{
export
enum
ModalName
{
CONFIRM_SWAP
=
'
confirm-swap-modal
'
,
TOKEN_SELECTOR
=
'
token-selector-modal
'
,
// alphabetize additional modal names.
...
...
@@ -107,7 +107,7 @@ export const enum ModalName {
* Known element names for analytics purposes.
* Use to identify low-level components given a TraceContext
*/
export
const
enum
ElementName
{
export
enum
ElementName
{
AUTOROUTER_VISUALIZATION_ROW
=
'
expandable-autorouter-visualization-row
'
,
COMMON_BASES_CURRENCY_BUTTON
=
'
common-bases-currency-button
'
,
CONFIRM_SWAP_BUTTON
=
'
confirm-swap-or-send
'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment