Skip to content

Commit

Permalink
fix(createLocalStorageRecentSearchesPlugin): set default transformSource
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahdayan committed Oct 14, 2021
1 parent e5630ac commit 5dccf22
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ function getOptions<TItem extends RecentSearchesItem>(
return {
limit: 5,
search: defaultSearch,
transformSource: ({ source }) => source,
...options,
};
}

0 comments on commit 5dccf22

Please sign in to comment.