Skip to content

Commit

Permalink
Fix Prettier code style issues in ColorTool.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Nashyn committed May 13, 2024
1 parent 7d45306 commit b5ce5b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/data/material/customization/color/ColorTool.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,12 +212,12 @@ function ColorTool() {

const COLOR_WIDTH = 156;
const SLIDER_WIDTH_CALC = 'calc(100% - 80px)';

const colorPicker = (intent) => {
const intentInput = state[`${intent}Input`];
const intentShade = state[`${intent}Shade`];
const color = state[`${intent}`];

return (
<Grid item xs={12} sm={6} md={4}>
<Typography component="label" gutterBottom htmlFor={intent} variant="h6">
Expand Down Expand Up @@ -251,7 +251,7 @@ function ColorTool() {
? shades[state.primaryShade]
: shades[state.secondaryShade];
const backgroundColor = colors[hue][shade];

return (
<Tooltip placement="right" title={hue} key={hue}>
<TooltipRadio
Expand Down

0 comments on commit b5ce5b0

Please sign in to comment.