Skip to content

Commit

Permalink
feat: render modalButtons
Browse files Browse the repository at this point in the history
  • Loading branch information
dleard committed Jun 15, 2020
1 parent d947a43 commit e99433b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion app/containers/Products/InnerProductBenchmarkModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const ProductBenchmarkInnerModal: React.FunctionComponent<Props> = ({
: createBenchmark
}
>
{modalButtons}
{modalButtons()}
</JsonSchemaForm>
{isProduct ? null : (
<PastBenchmarks pastBenchmarks={pastBenchmarks} />
Expand Down
1 change: 0 additions & 1 deletion app/containers/Products/ProductRowItemContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ export const ProductRowItemComponent: React.FunctionComponent<Props> = ({
onHide={() => {
setProductModalShow(false);
handleUpdateProductCount((productCount += 1));
console.log(product);
}}
>
<InnerModal
Expand Down

0 comments on commit e99433b

Please sign in to comment.