Skip to content

Commit 5107951

Browse files
Fix tests
1 parent f6fb2f1 commit 5107951

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/ra-ui-materialui/src/input/ArrayInput/ArrayInput.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {
55
RecordContextProvider,
66
ResourceContextProvider,
77
testDataProvider,
8+
useArrayInput,
89
} from 'ra-core';
910

1011
import { AdminContext } from '../../AdminContext';
@@ -25,7 +26,6 @@ import {
2526
Focus,
2627
Reset,
2728
} from './ArrayInput.stories';
28-
import { useArrayInput } from './useArrayInput';
2929

3030
describe('<ArrayInput />', () => {
3131
it('should pass array functions to child', async () => {

packages/ra-ui-materialui/src/input/ArrayInput/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ export * from './RemoveItemButton';
1111
export * from './ReOrderButtons';
1212

1313
/**
14-
* @deprecated Use `ra-core` instead
14+
* @deprecated Import from `ra-core` or `react-admin` instead
1515
*/
1616
export { ArrayInputContext, useArrayInput } from 'ra-core';

0 commit comments

Comments
 (0)