Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
SteRiccio committed Nov 14, 2024
1 parent dbd7c88 commit f34b8bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/components/buttons/ButtonDelete.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import classNames from 'classnames'
import { Button } from './Button'

export const ButtonDelete = (props) => {
const { label = 'common.delete' } = props
const { className, label = 'common.delete' } = props
return (
<Button
{...props}
className={classNames('btn-danger btn-delete', props.className)}
className={classNames('btn-danger btn-delete', className)}
iconClassName="icon-bin2 icon-12px"
label={label}
variant="text"
Expand Down

0 comments on commit f34b8bf

Please sign in to comment.