Skip to content

Commit

Permalink
Update context.md
Browse files Browse the repository at this point in the history
  • Loading branch information
guhur authored Dec 2, 2020
1 parent e541ad7 commit 0bee279
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cours/context.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ const Menu = ({theme}) => (<div><ThemedButton theme={props.theme} /></div>);
const ThemedButton = ({theme}) => {
const style = (
theme === "light"
? {color: "black"; backgoundColor: "white}
: {color: white; backgoundColor: black}
? {color: "black"; backgoundColor: "white"}
: {color: "white"; backgoundColor: "black"}
)
return (<button style={style} />);
}
Expand Down

0 comments on commit 0bee279

Please sign in to comment.