Skip to content

Commit a7e9702

Browse files
committed
pr change
1 parent 4475e47 commit a7e9702

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

packages/react-components/src/components/Survey/StarSurvey/StarSurvey.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@ export const _StarSurvey = (props: _StarSurveyProps): JSX.Element => {
104104
break;
105105
}
106106

107-
if (onStarRatingSelected) {
108-
onStarRatingSelected(rating);
109-
}
107+
onStarRatingSelected?.(rating);
110108
}
111109
},
112110
[

packages/storybook/stories/INTERNAL/Survey/StarSurvey.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const StarSurveyStory = (args): JSX.Element => {
4747
className={mergeStyles({
4848
background: theme.palette.neutralLighterAlt,
4949
padding: '2em',
50-
width: '20%',
50+
width: '50%',
5151
height: '75%'
5252
})}
5353
>

0 commit comments

Comments
 (0)