Skip to content

Commit

Permalink
fix: Add missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
radulescuandrew committed Sep 19, 2024
1 parent 13e9d80 commit a2423b3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion mobile/src/screens/EditActivityLog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import ActivityLogForm, {
import { useForm } from 'react-hook-form';
import { yupResolver } from '@hookform/resolvers/yup';
import { useUpdateActivityLog } from '../services/activity-log/activity-log.service';
import { parse } from 'date-fns';
import Toast from 'react-native-toast-message';
import { InternalErrors } from '../common/errors/internal-errors.class';
import { CONSTANTS } from '../common/constants/constants';
Expand Down
1 change: 1 addition & 0 deletions mobile/src/services/user/user.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { ILegalGuardianData, IUserProfile } from '../../common/interfaces/user-p
import { ICreateUserPayload } from '../../common/interfaces/create-user-payload.interface';
import { AccountDataFormTypes } from '../../screens/AccountData';
import { ImageAttachement } from '../../common/interfaces/image-attachement.interface';
import { format } from 'date-fns';

export const createUserProfile = async (userProfile: ICreateUserPayload): Promise<IUserProfile> => {
return API.post('/mobile/user', userProfile).then((res) => res.data);
Expand Down

0 comments on commit a2423b3

Please sign in to comment.