added leave house, remove member

This commit is contained in:
2026-02-23 21:40:32 +07:00
parent 12de48d19d
commit b821260fe7
28 changed files with 861 additions and 391 deletions

View File

@@ -21,7 +21,7 @@ const defaultValues: ProfileInput = {
const ProfileForm = () => {
const fileInputRef = useRef<HTMLInputElement>(null);
const { data: session, isPending } = useAuth();
const { session, isPending } = useAuth();
const queryClient = useQueryClient();
const { mutate: updateProfileMutation, isPending: isRunning } = useMutation({

View File

@@ -21,7 +21,7 @@ type FormProps = {
};
const CreateNewHouseForm = ({ onSubmit, isPersonal = false }: FormProps) => {
const { data: session } = useAuth();
const { session } = useAuth();
const [userKeyword, setUserKeyword] = useState('');
const debouncedUserKeyword = useDebounced(userKeyword, 300);
const { data: users } = useQuery(