mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-04 21:24:08 -04:00
Clean
This commit is contained in:
@@ -5,7 +5,7 @@ import posthog from "posthog-js";
|
||||
import {clearUserCookie} from "web/components/auth-context";
|
||||
|
||||
export async function deleteAccount(username: string) {
|
||||
track('delete profile')
|
||||
track('delete account')
|
||||
await api('me/delete', {username})
|
||||
await firebaseLogout()
|
||||
clearUserCookie()
|
||||
|
||||
Reference in New Issue
Block a user