edit local user fix
This commit is contained in:
1 parent
bb9c675421
commit
7043487fc2
4 files changed
+35
-24
No files matched your search
@@ -26,6 +26,7 @@ import {
|
||||
type InvitationOptionsData,
|
||||
} from "@/lib/validation/user-schemas";
|
||||
import { ChevronLeft, ChevronRight, Check } from "lucide-react";
|
||||
import { useGyms } from "@/hooks/use-api";
|
||||
|
||||
interface CreateUserModalProps {
|
||||
open: boolean;
|
||||
@@ -45,6 +46,7 @@ export function CreateUserModal({
|
||||
const [basicInfo, setBasicInfo] = useState<BasicInfoData | null>(null);
|
||||
const [clientInfo, setClientInfo] = useState<ClientInfoData | null>(null);
|
||||
const [isSubmitting, setIsSubmitting] = useState(false);
|
||||
const { data: gyms = [] } = useGyms();
|
||||
|
||||
// Step 1: Role Selection Form
|
||||
const roleForm = useForm<RoleSelectionData>({
|
||||
|
||||
Reference in new issue
Block a user