Skip to content

Commit 5d5437b

Browse files
committed
Cleanup
1 parent d7848d1 commit 5d5437b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

refactor/src/components/UI/Button.component.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,11 @@ const Button = ({
2828
onClick={handleButtonClick}
2929
disabled={buttonDisabled}
3030
className={`px-2 lg:px-4 py-2 font-bold bg-blue-500 border border-gray-400 border-solid rounded text-white ease-in-out transition-all duration-300 disabled:opacity-50
31-
32-
${
33-
color === 'blue'
34-
? 'bg-blue-500 hover:bg-blue-600'
35-
: 'bg-red-500 hover:bg-red-600'
36-
}
31+
${
32+
color === 'blue'
33+
? 'bg-blue-500 hover:bg-blue-600'
34+
: 'bg-red-500 hover:bg-red-600'
35+
}
3736
`}
3837
>
3938
{children}

0 commit comments

Comments
 (0)