Hey is a decentralized and permissionless social media app built with Lens Protocol 馃尶
1import BlockOrUnblockAccount from "@/components/Shared/Alert/BlockOrUnblockAccount";
2import DeletePost from "@/components/Shared/Alert/DeletePost";
3import MuteOrUnmuteAccount from "@/components/Shared/Alert/MuteOrUnmuteAccount";
4import { useBlockAlertStore } from "@/store/non-persisted/alert/useBlockAlertStore";
5import { useMuteAlertStore } from "@/store/non-persisted/alert/useMuteAlertStore";
6
7const GlobalAlerts = () => {
8 const { mutingOrUnmutingAccount } = useMuteAlertStore();
9 const { blockingOrUnblockingAccount } = useBlockAlertStore();
10
11 return (
12 <>
13 <DeletePost />
14 {blockingOrUnblockingAccount && <BlockOrUnblockAccount />}
15 {mutingOrUnmutingAccount && <MuteOrUnmuteAccount />}
16 </>
17 );
18};
19
20export default GlobalAlerts;