Skip to content

Commit

Permalink
refactor: update imports in multiple components to include JSX for im…
Browse files Browse the repository at this point in the history
…proved type support and consistency across the application
  • Loading branch information
hervedombya committed Jan 15, 2025
1 parent 6d86f9c commit 6d473a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/react/DataServiceRoleProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createContext, useContext, useMemo, useState } from 'react';
import { createContext, useContext, useMemo, useState, JSX } from 'react';
import { useParams } from 'react-router';
import { noopBasedEventDispatcher, regexArn, useAccounts } from './utils/hooks';
import { getRoleArnStored, setRoleArnStored } from './utils/localStorage';
Expand Down
2 changes: 1 addition & 1 deletion src/react/ManagementProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createContext, useContext, useMemo } from 'react';
import { createContext, useContext, useMemo, JSX } from 'react';
import makeMgtClient, { UiFacingApiWrapper } from '../js/managementClient';
import { useAccessToken } from './next-architecture/ui/AuthProvider';
import { useConfig } from './next-architecture/ui/ConfigProvider';
Expand Down
2 changes: 1 addition & 1 deletion src/react/account/AccountEditCommonLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FormEvent, MouseEvent, useState } from 'react';
import { FormEvent, MouseEvent, useState, JSX } from 'react';
import { Form, FormGroup, FormSection, Icon, Stack } from '@scality/core-ui';
import { Box, Button, CopyButton } from '@scality/core-ui/dist/next';
import { Controller, Control } from 'react-hook-form';
Expand Down

0 comments on commit 6d473a5

Please sign in to comment.