Skip to content

Commit

Permalink
fix: business profile addition modal bugfix (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
Riddhiagrawal001 authored Jan 2, 2024
1 parent 731ac50 commit 7075812
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ module AddEntryBtn = {
buttonSize=Small
buttonType={Primary}
rightIcon={FontAwesome("plus")}
onClick={_ => setShowModal(_ => true)}
onClick={_ => {
setModalState(_ => Edit)
setShowModal(_ => true)
}}
/>
</UIUtils.RenderIf>
<Modal
Expand Down

0 comments on commit 7075812

Please sign in to comment.