@granto-umbrella/umbrella-components 3.0.30 → 3.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@granto-umbrella/umbrella-components",
3
- "version": "3.0.30",
3
+ "version": "3.0.31",
4
4
  "description": "Umbrella Components for React",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -13,7 +13,6 @@ import {
13
13
  import mask from 'make-mask';
14
14
  import { ArrowCircleUpRight, Cube, FlowArrow, XCircle } from 'phosphor-react';
15
15
  import React, { useState } from 'react';
16
- import { useNavigate } from 'react-router-dom';
17
16
 
18
17
  import Pill from '../../atoms/Pill/Pill';
19
18
  import { mapRemoteToTimeline } from '../../molecules/TimeLine/TimeLine.mapper';
@@ -68,8 +67,8 @@ export const InsuranceCard: React.FC<InsuranceCardProps> = ({
68
67
  useQueryClient,
69
68
  useGetTimeline,
70
69
  useAuthStoreV2,
70
+ navigate,
71
71
  }) => {
72
- const navigate = useNavigate();
73
72
  const [loadingItem, setLoadingItem] = useState<string | null>(null);
74
73
  const [showRefuseModal, setShowRefuseModal] = useState(false);
75
74
  const [showExcludeModal, setShowExcludeModal] = useState(false);
@@ -28,6 +28,7 @@ export interface InsuranceCardProps {
28
28
  useQueryClient: any;
29
29
  useGetTimeline: any;
30
30
  useAuthStoreV2: any;
31
+ navigate: any;
31
32
  }
32
33
 
33
34
  export interface MenuItemProps {