Skip to content

Commit

Permalink
fix: avoids remounting (#13567)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzucconi committed Mar 4, 2024
1 parent 61292f3 commit 83e5cf4
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -67,8 +67,6 @@ const ArtistArtworkFilter: React.FC<ArtistArtworkFilterProps> = props => {
]}
ZeroState={ZeroState}
userPreferredMetric={userPreferences?.metric}
// Setting the key here to enforce a remount of the component when changing pages or query parameter filters within the query.
key={match.location.pathname + match.location.search}
>
<ArtworkFilterAlertContextProvider
initialCriteria={{ artistIDs: [artist.internalID] }}
Expand Down

0 comments on commit 83e5cf4

Please sign in to comment.