Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

[AUD-1146] Clear search history on sign-out - #1386

Merged
dylanjeffers merged 1 commit into
mainfrom
dj-fix-search-history
May 31, 2022
Merged

dylanjeffers merged 1 commit into
mainfrom
dj-fix-search-history

Conversation

@dylanjeffers

Copy link
Copy Markdown
Contributor

Description

Fixes case where search history of a previous user appears when signing in as different user

const handleSignOut = () => {
const handleSignOut = useCallback(() => {
dispatchWeb(signOut)
// TODO: move to the sign-out saga when store migrated to react-native

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@dylanjeffers
dylanjeffers merged commit d6ec2a7 into main May 31, 2022
@dylanjeffers
dylanjeffers deleted the dj-fix-search-history branch May 31, 2022 16:26
@sliptype sliptype mentioned this pull request May 31, 2022
@AudiusProject AudiusProject deleted a comment from linear Bot Sep 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants