Use managedProfiles state
cgen-212b4a9ed4144a11a9e04584a1fa16b9
This commit is contained in:
parent
f73921421b
commit
ddedd7bdbe
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ export default function Admin() {
|
|||
const { user, loading, roles } = useAuth();
|
||||
const navigate = useNavigate();
|
||||
const isOwner = Array.isArray(roles) && roles.includes("owner");
|
||||
const [demoProfiles, setDemoProfiles] = useState<any[]>([]);
|
||||
const [managedProfiles, setManagedProfiles] = useState<AethexUserProfile[]>([]);
|
||||
type Studio = {
|
||||
name: string;
|
||||
tagline?: string;
|
||||
|
|
|
|||
Loading…
Reference in a new issue