Skip to content

Commit

Permalink
Update packages/mui-material/src/usePagination/usePagination.test.js
Browse files Browse the repository at this point in the history
Signed-off-by: Aarón García Hervás <aaron.garcia.hervas@gmail.com>
  • Loading branch information
aarongarciah authored Oct 1, 2024
1 parent 7316795 commit 3f979c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('usePagination', () => {
const serialize = (items) => items.map((item) => (item.type === 'page' ? item.page : item.type));

const renderHook = (useHook) => {
const result = { current: null };
const result = React.createRef();
function TestCase() {
const hookResult = useHook();
React.useEffect(() => {
Expand Down

0 comments on commit 3f979c8

Please sign in to comment.