mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-29 05:00:43 +10:00
Fix error when no searchParams were provided
This commit is contained in:
parent
342f82f672
commit
61daa2e7e9
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ export const BreakdownMaybe = props => {
|
|||
) : null;
|
||||
};
|
||||
|
||||
const createListingLink = (listing, label, searchParams, className = '') => {
|
||||
const createListingLink = (listing, label, searchParams = {}, className = '') => {
|
||||
const listingLoaded = !!listing.id;
|
||||
|
||||
if (listingLoaded && !listing.attributes.deleted) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue