Skip to content

Commit

Permalink
Change lock position
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelura committed Mar 2, 2020
1 parent 7f94fb8 commit 2300777
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/RecipeEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ const RecipeEditor: React.SFC<RecipeEditorProps> = ({ recipe, onRecipeChanged })
return (
<React.Fragment>
{/* Coffee */}
<Typography variant="button">Coffee</Typography>
{lockerButton(RecipeItem.Coffee)}
<Typography variant="button">Coffee</Typography>
<Slider
disabled={locks.coffee}
value={recipe.coffee}
Expand All @@ -70,8 +70,8 @@ const RecipeEditor: React.SFC<RecipeEditorProps> = ({ recipe, onRecipeChanged })
marks={[{ value: recipe.coffee, label: recipe.coffee.toFixed(1) + ' g' }]}
/>
{/* Water */}
<Typography variant="button">Water</Typography>
{lockerButton(RecipeItem.Water)}
<Typography variant="button">Water</Typography>
<Slider
value={recipe.water}
disabled={locks.water}
Expand All @@ -82,8 +82,8 @@ const RecipeEditor: React.SFC<RecipeEditorProps> = ({ recipe, onRecipeChanged })
marks={[{ value: recipe.water, label: recipe.water.toFixed() + ' ml' }]}
/>
{/* Ratio */}
<Typography variant="button">Ratio</Typography>
{lockerButton(RecipeItem.Ratio)}
<Typography variant="button">Ratio</Typography>
<Slider
value={recipe.ratio}
disabled={locks.ratio}
Expand Down

0 comments on commit 2300777

Please sign in to comment.