Skip to content

Commit

Permalink
[EN-6274] feat(cv): integration page CV
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulEntourage committed Jul 26, 2023
1 parent 1c26a5f commit 0067677
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
'*.ts?(x)': ['yarn tsc-files', 'yarn lint:fix'],
'*.ts?(x)': [() => 'yarn ts-check', 'yarn lint:fix'],
'*.js?(x)': 'yarn lint:fix',
};
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"lint": "npx eslint src --ext js,jsx,ts,tsx",
"lint:fix": "npx eslint src --ext js,jsx,ts,tsx --fix",
"ts-check": "tsc -p tsconfig.json --noEmit",
"ts-check:hook": "tsc tsconfig.json --noEmit",
"format": "prettier --write './**/*.{js,jsx,md,json,ts,tsx}' --config .prettierrc.json",
"build": "next build",
"uikit-install": "cd ./node_modules/uikit && yarn",
Expand Down
4 changes: 2 additions & 2 deletions src/components/cv/CVEditCareerPath.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
} from 'src/constants';
import { findConstantFromValue, sortByOrder } from 'src/utils';

interface CVEditCareerPath {
interface CVEditCareerPathProps {
ambitions: {
order: number;
name: string;
Expand All @@ -29,7 +29,7 @@ export const CVEditCareerPath = ({
ambitions,
businessLines,
onChange,
}: CVEditCareerPath) => {
}: CVEditCareerPathProps) => {
const sortedAmbitions =
ambitions && ambitions.length > 0 ? sortByOrder(ambitions) : null;

Expand Down
4 changes: 2 additions & 2 deletions src/components/cv/CVFicheEdition.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { Grid, Img } from 'src/components/utils';
import { CV_STATUS } from 'src/constants';
import { useMount, usePrevious } from 'src/hooks/utils';

interface VFicheEditionProps {
interface CVFicheEditionProps {
cv: CV;
onChange?: (arg1: any) => void;
disablePicture?: boolean;
Expand All @@ -37,7 +37,7 @@ export const CVFicheEdition = ({
phone,
address,
userZone,
}: VFicheEditionProps) => {
}: CVFicheEditionProps) => {
const [previewUrl, setPreviewUrl] = useState(undefined);
const [imageUrl, setImageUrl] = useState(undefined);

Expand Down

0 comments on commit 0067677

Please sign in to comment.