diff options
author | Fabio Berger <me@fabioberger.com> | 2017-12-18 09:48:23 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-12-18 09:48:23 +0800 |
commit | abbad68eb838ec4611d2236a7b0036a4a4d3058e (patch) | |
tree | 31d9415848b7a59d33ce719dcf4c0c12992275d4 /packages/website/ts/utils/utils.ts | |
parent | 90d274ffc4cce36c1ff572fad10bd7896e255ada (diff) | |
download | dexon-0x-contracts-abbad68eb838ec4611d2236a7b0036a4a4d3058e.tar.gz dexon-0x-contracts-abbad68eb838ec4611d2236a7b0036a4a4d3058e.tar.zst dexon-0x-contracts-abbad68eb838ec4611d2236a7b0036a4a4d3058e.zip |
Replace remaining strEnums with property TS string enums
Diffstat (limited to 'packages/website/ts/utils/utils.ts')
-rw-r--r-- | packages/website/ts/utils/utils.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts index a6f80c2ab..211a56d45 100644 --- a/packages/website/ts/utils/utils.ts +++ b/packages/website/ts/utils/utils.ts @@ -124,11 +124,11 @@ export const utils = { // This logic mirrors the CSS media queries in BassCSS for the `lg-`, `md-` and `sm-` CSS // class prefixes. Do not edit these. if (widthInEm > LG_MIN_EM) { - return ScreenWidths.LG; + return ScreenWidths.Lg; } else if (widthInEm > MD_MIN_EM) { - return ScreenWidths.MD; + return ScreenWidths.Md; } else { - return ScreenWidths.SM; + return ScreenWidths.Sm; } }, isUserOnMobile(): boolean { |