Skip to content

Commit f0b1076

Browse files
authored
Merge pull request #1604 from swaroopar/feature/upgradeReact19.0.12
dependencies: bump the react group with 3 updates
2 parents ccb92a1 + b81eecf commit f0b1076

File tree

8 files changed

+31
-31
lines changed

8 files changed

+31
-31
lines changed

package-lock.json

+16-16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"rc-tabs": "^15.5.1",
1616
"react": "^19.0.0",
1717
"react-dom": "^19.0.0",
18-
"react-router-dom": "^7.3.0",
19-
"react-timer-hook": "^4.0.1",
18+
"react-router-dom": "^7.4.0",
19+
"react-timer-hook": "^4.0.5",
2020
"yaml": "^2.6.1",
2121
"zustand": "^5.0.3"
2222
},
@@ -50,7 +50,7 @@
5050
"@hey-api/openapi-ts": "^0.64.13",
5151
"@playwright/test": "^1.51.1",
5252
"@tanstack/eslint-plugin-query": "^5.68.0",
53-
"@types/react": "^19.0.10",
53+
"@types/react": "^19.0.12",
5454
"@types/react-dom": "^19.0.4",
5555
"@types/uuid": "^10.0.0",
5656
"@typescript-eslint/eslint-plugin": "^8.28.0",

src/components/content/order/common/ScaleOrModifyOrderSubmitResult.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import { Alert } from 'antd';
77
import React from 'react';
8-
import { StopwatchResult } from 'react-timer-hook';
8+
import { useStopwatchResultType } from 'react-timer-hook/dist/types/src/useStopwatch';
99
import submitAlertStyles from '../../../../styles/submit-alert.module.css';
1010
import { ServiceProviderContactDetails } from '../../../../xpanse-api/generated';
1111
import { ContactDetailsShowType } from '../../common/ocl/ContactDetailsShowType';
@@ -25,7 +25,7 @@ export const ScaleOrModifyOrderSubmitResult = ({
2525
serviceId: string;
2626
orderId: string;
2727
type: 'success' | 'error';
28-
stopWatch: StopwatchResult;
28+
stopWatch: useStopwatchResultType;
2929
contactServiceDetails: ServiceProviderContactDetails | undefined;
3030
}): React.JSX.Element => {
3131
return (

src/components/content/order/destroy/DestroyOrderSubmitResult.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import { Alert } from 'antd';
77
import React from 'react';
8-
import { StopwatchResult } from 'react-timer-hook';
8+
import { useStopwatchResultType } from 'react-timer-hook/dist/types/src/useStopwatch';
99
import submitAlertStyles from '../../../../styles/submit-alert.module.css';
1010
import { ServiceProviderContactDetails } from '../../../../xpanse-api/generated';
1111
import { ContactDetailsShowType } from '../../common/ocl/ContactDetailsShowType';
@@ -27,7 +27,7 @@ export const DestroyOrderSubmitResult = ({
2727
orderId: string;
2828
type: 'success' | 'error';
2929
onClose: () => void;
30-
stopWatch: StopwatchResult;
30+
stopWatch: useStopwatchResultType;
3131
contactServiceDetails: ServiceProviderContactDetails | undefined;
3232
}): React.JSX.Element => {
3333
return (

src/components/content/order/orderStatus/DeploymentTimer.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
import { HourglassOutlined } from '@ant-design/icons';
77
import React from 'react';
8-
import { StopwatchResult } from 'react-timer-hook';
8+
import { useStopwatchResultType } from 'react-timer-hook/dist/types/src/useStopwatch';
99
import serviceOrderStyles from '../../../../styles/service-order.module.css';
1010

11-
function DeploymentTimer({ stopWatch }: { stopWatch: StopwatchResult }): React.JSX.Element {
11+
function DeploymentTimer({ stopWatch }: { stopWatch: useStopwatchResultType }): React.JSX.Element {
1212
return (
1313
<div className={serviceOrderStyles.timerBlock}>
1414
<div className={serviceOrderStyles.timerHeader}>Order Duration</div>

src/components/content/order/orderStatus/OrderSubmitResult.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import { Alert, Button, Row } from 'antd';
77
import React from 'react';
8-
import { StopwatchResult } from 'react-timer-hook';
8+
import { useStopwatchResultType } from 'react-timer-hook/dist/types/src/useStopwatch';
99
import errorAlertStyles from '../../../../styles/error-alert.module.css';
1010
import submitAlertStyles from '../../../../styles/submit-alert.module.css';
1111
import { ServiceProviderContactDetails } from '../../../../xpanse-api/generated';
@@ -29,7 +29,7 @@ export const OrderSubmitResult = ({
2929
serviceId: string;
3030
orderId: string;
3131
type: 'success' | 'error';
32-
stopWatch: StopwatchResult;
32+
stopWatch: useStopwatchResultType;
3333
isDeployRequestError: boolean;
3434
contactServiceDetails: ServiceProviderContactDetails | undefined;
3535
retryRequest: () => void;

src/components/content/order/recreate/RecreateOrderSubmitResult.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
*/
55

66
import { Alert } from 'antd';
7-
import { StopwatchResult } from 'react-timer-hook';
87
import { ServiceProviderContactDetails } from '../../../../xpanse-api/generated';
98

109
import React from 'react';
10+
import { useStopwatchResultType } from 'react-timer-hook/dist/types/src/useStopwatch';
1111
import submitAlertStyles from '../../../../styles/submit-alert.module.css';
1212
import { ContactDetailsShowType } from '../../common/ocl/ContactDetailsShowType';
1313
import { ContactDetailsText } from '../../common/ocl/ContactDetailsText';
@@ -27,7 +27,7 @@ export const RecreateOrderSubmitResult = ({
2727
serviceId: string;
2828
orderId: string;
2929
type: 'success' | 'error';
30-
stopWatch: StopwatchResult;
30+
stopWatch: useStopwatchResultType;
3131
closeRecreateResultAlert: (arg: boolean) => void;
3232
contactServiceDetails: ServiceProviderContactDetails | undefined;
3333
}): React.JSX.Element => {

src/components/content/order/servicePorting/PortServiceOrderSubmitResult.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
*/
55

66
import { Alert } from 'antd';
7-
import { StopwatchResult } from 'react-timer-hook';
87
import { ServiceProviderContactDetails } from '../../../../xpanse-api/generated';
98

109
import React from 'react';
10+
import { useStopwatchResultType } from 'react-timer-hook/dist/types/src/useStopwatch';
1111
import submitAlertStyles from '../../../../styles/submit-alert.module.css';
1212
import { ContactDetailsShowType } from '../../common/ocl/ContactDetailsShowType';
1313
import { ContactDetailsText } from '../../common/ocl/ContactDetailsText';
@@ -26,7 +26,7 @@ export const PortServiceOrderSubmitResult = ({
2626
serviceId: string;
2727
orderId: string;
2828
type: 'success' | 'error';
29-
stopWatch: StopwatchResult;
29+
stopWatch: useStopwatchResultType;
3030
contactServiceDetails: ServiceProviderContactDetails | undefined;
3131
}): React.JSX.Element => {
3232
return (

0 commit comments

Comments
 (0)