Remove unnecessary assertion

This commit is contained in:
sangwoo.ko
2022-08-25 14:32:15 +09:00
parent 8ca0f4c39d
commit 66bd266dd3
@@ -148,7 +148,7 @@ class BackgroundImageSettings extends React.PureComponent<Props, State> {
>
<StyledSelectionBorder selected={usingSolidColorBackground}>
<StyledCustomBackgroundOptionColor
colorValue={usingSolidColorBackground ? selectedBackgroundColor as string : defaultSolidBackgroundColor }
colorValue={usingSolidColorBackground ? selectedBackgroundColor : defaultSolidBackgroundColor }
selected={usingSolidColorBackground}
/>
</StyledSelectionBorder>
@@ -161,7 +161,7 @@ class BackgroundImageSettings extends React.PureComponent<Props, State> {
>
<StyledSelectionBorder selected={usingGradientBackground}>
<StyledCustomBackgroundOptionColor
colorValue={usingGradientBackground ? selectedBackgroundColor as string : defaultGradientColor}
colorValue={usingGradientBackground ? selectedBackgroundColor : defaultGradientColor}
selected={usingGradientBackground}
/>
</StyledSelectionBorder>