diff --git a/example/src/HomeScreen.tsx b/example/src/HomeScreen.tsx index 086caa2f9..f9c45bb5b 100644 --- a/example/src/HomeScreen.tsx +++ b/example/src/HomeScreen.tsx @@ -103,7 +103,7 @@ function GroupListItem({ const [getConsentState, setConsentState] = useState() const denyGroup = async () => { - await client?.contacts.deny([group.id]) + await client?.contacts.denyGroups([group.id]) group .consentState() .then(setConsentState)