Skip to content

Commit

Permalink
refactor(config): 🚨 fix linting
Browse files Browse the repository at this point in the history
fix linting errors

Ref: #25
  • Loading branch information
anantakumarghosh committed Feb 5, 2024
1 parent 90d3bb5 commit f723042
Show file tree
Hide file tree
Showing 47 changed files with 3,524 additions and 3,522 deletions.
410 changes: 205 additions & 205 deletions app/actions/profileAction.js

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions app/actions/test.action.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
import { RESET_TEST, TEST_FAILURE, TEST_SUCCESS } from "../types/test.types";

export const testSuccess = () => {
return (dispatch) => {
dispatch({ type: TEST_SUCCESS });
};
return (dispatch) => {
dispatch({ type: TEST_SUCCESS });
};
};

export const testFailure = () => {
return (dispatch) => {
dispatch({ type: TEST_FAILURE });
};
return (dispatch) => {
dispatch({ type: TEST_FAILURE });
};
};

export const resetTest = () => {
return (dispatch) => {
dispatch({ type: RESET_TEST });
};
return (dispatch) => {
dispatch({ type: RESET_TEST });
};
};
14 changes: 7 additions & 7 deletions app/apis.registry.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
export const ApiRegistry = {
GET_PROFILE_BASIC_API : "/business/individual/ProfileBasic",
GET_PROFILE_CLINIC_API : "/business/all/ProfileClinic",
GET_PROFILE_EDUCATION_API : "/business/all/ProfileEducation",
GET_PROFILE_EXPERIENCE_API : "/business/all/ProfileExperience",
GET_PROFILE_REGISTRATION_API: "/rx/registrationInfo",
PROFILE_COMPLETENESS_API:
GET_PROFILE_BASIC_API : "/business/individual/ProfileBasic",
GET_PROFILE_CLINIC_API : "/business/all/ProfileClinic",
GET_PROFILE_EDUCATION_API : "/business/all/ProfileEducation",
GET_PROFILE_EXPERIENCE_API : "/business/all/ProfileExperience",
GET_PROFILE_REGISTRATION_API: "/rx/registrationInfo",
PROFILE_COMPLETENESS_API:
"/business/individual/ProfileCompleteness",
PROFILE_COMPLETENESS_CHECKLIST_API:
PROFILE_COMPLETENESS_CHECKLIST_API:
"/business/individual/MasterData",
};
26 changes: 13 additions & 13 deletions app/components.registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ import RegistrationCard from "./components/registration/RegistrationCard";
import UserProfile from "./components/UserProfile";

export const ComponentsRegistry = {
BasicInfoCard : { comp: BasicInfoCard },
ProfileBasicSkeleton : { comp: ProfileBasicSkeleton },
ProfileClinicSkeleton : { comp: ProfileClinicSkeleton },
ProfileContactSkeleton : { comp: ProfileContactSkeleton },
ProfileEducationSkeleton : { comp: ProfileEducationSkeleton },
ProfileExperienceSkeleton : { comp: ProfileExperienceSkeleton },
ProfileRegistrationSkeleton: { comp: ProfileRegistrationSkeleton },
UserProfile : { comp: UserProfile },
clinicCard : { comp: ClinicCard },
contactInfoCard : { comp: ContactInfoCard },
educationCard : { comp: EducationCard },
experienceCard : { comp: ExperienceCard },
registrationCard : { comp: RegistrationCard }
BasicInfoCard : { comp: BasicInfoCard },
ProfileBasicSkeleton : { comp: ProfileBasicSkeleton },
ProfileClinicSkeleton : { comp: ProfileClinicSkeleton },
ProfileContactSkeleton : { comp: ProfileContactSkeleton },
ProfileEducationSkeleton : { comp: ProfileEducationSkeleton },
ProfileExperienceSkeleton : { comp: ProfileExperienceSkeleton },
ProfileRegistrationSkeleton: { comp: ProfileRegistrationSkeleton },
UserProfile : { comp: UserProfile },
clinicCard : { comp: ClinicCard },
contactInfoCard : { comp: ContactInfoCard },
educationCard : { comp: EducationCard },
experienceCard : { comp: ExperienceCard },
registrationCard : { comp: RegistrationCard }
};
10 changes: 5 additions & 5 deletions app/components/ModuleComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { CoreBox, CoreClasses, CoreTypographyBody1 } from "@wrappid/core";
import ModuleClasses from "../styles/ModuleClasses";

export default function ModuleComponent() {
return (
<CoreBox styleClasses={[CoreClasses.PADDING.P5, ModuleClasses.TEST_WRAPPID_STYLE_CLASS]}>
<CoreTypographyBody1>ModuleComponent</CoreTypographyBody1>
</CoreBox>
);
return (
<CoreBox styleClasses={[CoreClasses.PADDING.P5, ModuleClasses.TEST_WRAPPID_STYLE_CLASS]}>
<CoreTypographyBody1>ModuleComponent</CoreTypographyBody1>
</CoreBox>
);
}
Loading

0 comments on commit f723042

Please sign in to comment.