client/components/Button/DeleteButton.tsx
Function DeleteButton
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function DeleteButton(props: GhostButtonProps) {
const { onClick, ...newProps } = props,
newOnclick = (e?: any) => {
e?.preventDefault();
if (window.confirm("Are you sure?")) {