Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
fix(money): remove miss classname
Browse files Browse the repository at this point in the history
  • Loading branch information
igorkamyshev committed Feb 25, 2019
1 parent 5aad52f commit cb793b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions front/src/ui/components/form/button/Button.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.defaultButton {
margin: 0;
}

.textButton {
border: none;
box-shadow: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import { ButtonType } from '../ButtonType'

export const resolveClassName = (type: ButtonType): string =>
({
[ButtonType.Primary]: 'defaultButton',
[ButtonType.Primary]: '',
[ButtonType.Text]: 'textButton',
}[type])

0 comments on commit cb793b4

Please sign in to comment.