Skip to content

Commit

Permalink
fix: improve how quickly perspectives switch
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Jan 27, 2025
1 parent fa68ccc commit 1ba6316
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default function LiveStoreProvider(props: LiveQueryProviderProps): React.
const {query, params, listeners} = hooks.cache.get(key)!
return (
<QuerySubscription
key={key}
key={`${key}-${perspective}`}
client={client}
listeners={listeners}
params={params}
Expand Down

0 comments on commit 1ba6316

Please sign in to comment.