Skip to content

Commit

Permalink
Restore real default parameters as defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
viktor-yakubiv committed Jan 21, 2021
1 parent 3cd79eb commit 4ebf0cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/data-providers/[id].jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export async function getServerSideProps({
query: searchParams,
}) {
const { id } = routeParams
const { q = 'car', offset = 0, limit = 10 } = searchParams
const { q = '', offset = 0, limit = 10 } = searchParams

try {
const dataProvider = await fetchMetadata(id)
Expand Down

0 comments on commit 4ebf0cf

Please sign in to comment.