diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-06 17:26:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-06 17:26:50 +0800 |
commit | cc39eea9991306eabadd912256452f67fb49c20b (patch) | |
tree | 6a1608b6fca9366f6b407e8a2cf746a79b86858b /packages/website/ts/pages | |
parent | 39570a9663abae56b0220745306386197fae65c1 (diff) | |
parent | cbfed99bc6f9c86dee2dc31cafe401ded0fc9084 (diff) | |
download | dexon-0x-contracts-cc39eea9991306eabadd912256452f67fb49c20b.tar.gz dexon-0x-contracts-cc39eea9991306eabadd912256452f67fb49c20b.tar.zst dexon-0x-contracts-cc39eea9991306eabadd912256452f67fb49c20b.zip |
Merge pull request #664 from 0xProject/fixes/misc-small-fixes
Small miscellaneous fixes
Diffstat (limited to 'packages/website/ts/pages')
-rw-r--r-- | packages/website/ts/pages/landing/landing.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/website/ts/pages/landing/landing.tsx b/packages/website/ts/pages/landing/landing.tsx index f3428d475..ed6ec4ec6 100644 --- a/packages/website/ts/pages/landing/landing.tsx +++ b/packages/website/ts/pages/landing/landing.tsx @@ -342,6 +342,9 @@ export class Landing extends React.Component<LandingProps, LandingState> { case ScreenWidths.Lg: colWidth = isRelayersOnly ? 2 : 2 - i % 2; break; + + default: + throw new Error(`Encountered unknown ScreenWidths value: ${this.state.screenWidth}`); } return ( <div key={`project-${project.logoFileName}`} className={`col col-${colWidth} center`}> |