Skip to content

Commit

Permalink
update core-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
hervedombya committed Oct 13, 2023
1 parent ec540c8 commit 6c2be3a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"@hookform/resolvers": "^2.8.8",
"@js-temporal/polyfill": "^0.4.3",
"@monaco-editor/react": "^4.4.5",
"@scality/core-ui": "github:scality/core-ui#b4d68882cc21e02f4da7318773cb316ac1b0f8a2",
"@scality/core-ui": "github:scality/core-ui#f27d07d7a2472afc456413ed150ec3ff0b810464",
"@scality/module-federation": "github:scality/module-federation#1.1.0",
"@types/react-table": "^7.7.10",
"@types/react-virtualized": "^9.21.20",
Expand Down
8 changes: 6 additions & 2 deletions src/react/ZenkoUI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,19 @@ import { useEffect } from 'react';
import { useDispatch, useSelector } from 'react-redux';
import Activity from './ui-elements/Activity';
import type { AppState } from '../types/state';
import { Banner, Icon, ScrollbarWrapper } from '@scality/core-ui';
import {
Banner,
Icon,
ScrollbarWrapper,
ToastProvider,
} from '@scality/core-ui';
import ErrorHandlerModal from './ui-elements/ErrorHandlerModal';
import Loader from './ui-elements/Loader';
import Routes from './Routes';
import { ThemeProvider } from 'styled-components';
import { loadAppConfig } from './actions';
import { useConfig } from './next-architecture/ui/ConfigProvider';
import { useAuth } from './next-architecture/ui/AuthProvider';
import { ToastProvider } from './ToastProvider';

function ZenkoUI() {
const isConfigLoaded = useSelector(
Expand Down
3 changes: 2 additions & 1 deletion src/react/databrowser/buckets/BucketCreate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
FormGroup,
FormSection,
Stack,
useMutationsHandler,
} from '@scality/core-ui';
import { Controller, FormProvider, useForm } from 'react-hook-form';
import { ChangeEvent, useMemo, useRef } from 'react';
Expand All @@ -22,7 +23,7 @@ import { XDM_FEATURE } from '../../../js/config';
import { renderLocation } from '../../locations/utils';
import { convertRemToPixels } from '@scality/core-ui/dist/utils';
import { useHistory, useParams } from 'react-router-dom';
import { MutationConfig, useMutationsHandler } from '../../ToastProvider';
import { MutationConfig } from '../../ToastProvider';
import {
useChangeBucketDefaultRetention,
useChangeBucketVersionning,
Expand Down

0 comments on commit 6c2be3a

Please sign in to comment.