Add profile QR code for sharing and inviting friends (#10659)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import {device, useStorage} from '#/storage'
|
||||
|
||||
/**
|
||||
* Persisted dismiss state for the "Import contacts or invite your friends"
|
||||
* promo banner shown on the Followers screen empty state.
|
||||
*/
|
||||
export function useFollowersPromoDismissed() {
|
||||
const [dismissed = false, setDismissed] = useStorage(device, [
|
||||
'inviteFriendsFollowersPromoDismissed',
|
||||
])
|
||||
return [dismissed, setDismissed] as const
|
||||
}
|
||||
Reference in New Issue
Block a user