Skip to content

Commit

Permalink
Fix code syntax in README
Browse files Browse the repository at this point in the history
  • Loading branch information
mchudy committed Sep 16, 2020
1 parent 8a221e9 commit c990522
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,9 @@ type ProductsPageProps = PageProps<typeof routes.products>;

const ProductPage: PageComponent<typeof routes.products> = ({
match: {
params: { productId },
}) => (
<div>{productId}</div>
);
params: { productId },
},
}) => <div>{productId}</div>;
```
And for query string params:
Expand Down

0 comments on commit c990522

Please sign in to comment.