Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39,053 changes: 39,053 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@
"typescript:dts": "node scripts/dts.js"
},
"dependencies": {
"@azure/msal-browser": "2.14.0",
"@azure/msal-browser": "^2.14.1",
"@reduxjs/toolkit": "^1.5.1",
"axios": "^0.21.1",
"bootstrap": "^4.5.3",
"bootstrap-italia": "^1.4.3",
"classnames": "^2.2.6",
"date-fns": "^2.16.1",
"design-react-kit": "^3.3.3",
"file-saver": "^2.0.5",
"formik": "^2.2.6",
"fp-ts": "1.17.4",
"fs": "^0.0.1-security",
Expand Down Expand Up @@ -68,6 +69,7 @@
"@pagopa/ts-commons": "9.1.0",
"@svgr/parcel-plugin-svgr": "^5.5.0",
"@types/classnames": "^2.2.11",
"@types/file-saver": "^2.0.2",
"@types/jest": "^26.0.22",
"@types/node": "^14.14.9",
"@types/react": "^16.9.56",
Expand Down
3 changes: 2 additions & 1 deletion src/api/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import axios, { AxiosError } from 'axios';
import { getCookie, logout } from '../utils/cookie';
import { AgreementApi, ProfileApi, DiscountApi, DocumentApi } from './generated';
import { AgreementApi, ProfileApi, DiscountApi, DocumentApi, DocumentTemplateApi } from './generated';

const token = getCookie();

Expand All @@ -27,4 +27,5 @@ export default {
Profile: new ProfileApi(undefined, process.env.BASE_API_PATH, axiosInstance),
Discount: new DiscountApi(undefined, process.env.BASE_API_PATH, axiosInstance),
Document: new DocumentApi(undefined, process.env.BASE_API_PATH, axiosInstance),
DocumentTemplate: new DocumentTemplateApi(undefined, process.env.BASE_API_PATH, axiosInstance),
};
97 changes: 0 additions & 97 deletions src/components/Form/CreateProfileForm/Documentation.tsx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const Documentation = ({
</div>
<p className="mt-8 text-sm font-weight-normal text-gray">
Cliccando su Continua, dichiari di aver letto e compreso l’
<a className="font-weight-semibold" onClick={toggle}>
<a className="font-weight-semibold cursor-pointer" onClick={toggle}>
informativa sulla privacy
</a>{" "}
relativa all’iniziativa.
Expand Down
227 changes: 0 additions & 227 deletions src/components/Form/CreateProfileForm/Documents.tsx

This file was deleted.

Loading