Skip to content

Commit

Permalink
feat(redmine 1301354): update Stepper page + tsconfig.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Meriemu committed Jul 9, 2024
1 parent 6fd9905 commit 8145c37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/* eslint-disable @typescript-eslint/no-unsafe-call */
'use client';

import type { IAddressFieldsValues } from '@smile/haring-react/src/Form/AddressFields/AddressFields';
import type { IValue } from '@smile/haring-react/src/Form/FetchAutocompleteField/FetchAutocompleteField';
import type { ReactElement } from 'react';
Expand All @@ -12,8 +10,7 @@ import {
FullNameFields,
SidebarMenu,
} from '@smile/haring-react';

// import { AddressAutocompleteFields } from '@smile/haring-react/src/Form/AddressAutocompleteFields/AddressAutocompleteFields';
import { AddressAutocompleteFields } from '@smile/haring-react/src/Form/AddressAutocompleteFields/AddressAutocompleteFields';
import { useEffect, useState } from 'react';

import { menuMock } from '../BrowsingPage/BrowsingPage.mock';
Expand All @@ -30,7 +27,7 @@ export interface IAddressGouvData {
};
}

export async function getDataAddressGouvRequest(
async function getDataAddressGouvRequest(
value: string,
): Promise<IValue<IAddressGouvData>[]> {
const response = await fetch(
Expand Down
4 changes: 4 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"extends": "tsconfig/react-library.json",
"compilerOptions": {
"baseUrl": "./",
"paths": {
"@smile/haring-react/*": ["packages/haring-react/*"]
},
"plugins": [{ "name": "typescript-plugin-css-modules" }]
},
"include": [".", ".storybook/*"],
Expand Down

0 comments on commit 8145c37

Please sign in to comment.