Skip to content

Commit

Permalink
Fix Yoga Playground website Litho codegen bugs
Browse files Browse the repository at this point in the history
Summary:
Yoga Playground website

changing direction results in no change to Litho code because of this typo

Reviewed By: SidharthGuglani

Differential Revision: D24818769

fbshipit-source-id: 1633513d4a25aead2008b59d52f669293214c598
  • Loading branch information
Kris Georges authored and facebook-github-bot committed Nov 10, 2020
1 parent 07eac0c commit e65b1ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/components/Playground/src/CodeLitho.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function getEnum(yogaEnum: string, value: string | number): string {
position: 'Position',
flexWrap: 'Wrap',
positionType: 'PositionType',
direction: 'Driection',
direction: 'Direction',
};

if (!enumLookup[yogaEnum]) {
Expand Down

0 comments on commit e65b1ef

Please sign in to comment.