added leave house, remove member
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user