You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on to delete users' team from client side, although neither user nor team object has delete function support in the client side (ServerTeam type does support team.delete())
I was reading the docs and it says that it should support, is the doc correct?
Environment
@stackframe/stack: 2.6.20
next: 15.0.3
How to reproduce
'use client'import{useUser}from'@stackframe/stack'exportdefaultfunctionPage(){constuser=useUser()constteam=user.selectedTeamteam.delete()// Property 'delete' does not exist on type 'Team'.ts(2339)return<h1>Deleted</h1>}
The text was updated successfully, but these errors were encountered:
Description
I'm working on to delete users' team from client side, although neither user nor team object has delete function support in the client side (
ServerTeam
type does supportteam.delete()
)I was reading the docs and it says that it should support, is the doc correct?
Environment
How to reproduce
The text was updated successfully, but these errors were encountered: