sort: newSort ?()

in src/views/Search/SortFilter.tsx [14:25]


      sort: newSort ? (newSort as CatalogSearchSort) : undefined,
    });
  };

  return (
    <RadioFilter
      hint="Sets the order of search results"
      name="Sorted By"
      onValueChange={onSortChange}
      options={[
        { display: "Relevance", value: "" },
        ...Object.entries(SORT_RENDER_MAP).map(([value, display]) => ({