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

Big fix/city state #22

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/JumboButton/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const useStyles = makeStyles((theme) => ({
},
}));

const JumboButton = ({ altText, iconSrc, primaryText, secondaryText, onClick = () => { }, name }) => {
const JumboButton = ({ altText, iconSrc, primaryText, secondaryText, onClick, name }) => {
const classes = useStyles();
const btnImg = <img alt={altText} src={iconSrc} />;

Expand All @@ -36,7 +36,7 @@ const JumboButton = ({ altText, iconSrc, primaryText, secondaryText, onClick = (
size="large"
className={clsx(classes.button, 'JumboButton linear-gradient')}
startIcon={btnImg}
onClick={onClick}
onClick={handleOnClick}
>
<div className="text-align-left">
<div className="JumboButton-primaryText">{primaryText}</div>
Expand Down
Loading