Skip to content

Commit

Permalink
fix(pretty): pretty it
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Oct 27, 2023
1 parent c40d6de commit b29dabf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/features/gradient/gradient.tsx
Original file line number Diff line number Diff line change
@@ -86,20 +86,20 @@ const Gradient: FunctionComponent<GradientProps & WithTranslation<'gradient'>> =
)}
</div>
))}

{canAdd && (
<Button<void> className="btn btn-success me-2" onClick={addColor}>
+
</Button>
)}

<div>
<Button
className={cx('btn btn-primary float-end', { 'btn-sm': minimal })}
onClick={() => onChange(endpoint as Endpoint, { gradient: colors.map(rgbToHex) })}>
onClick={() => onChange(endpoint as Endpoint, { gradient: colors.map(rgbToHex) })}
>
{t('common:apply')}
</Button>
</div>,
</div>
,
</div>
);
};

0 comments on commit b29dabf

Please sign in to comment.