Merge pull request #7196 from SDA-SE/feat/update-material-lab
Upgrade `@material-ui/lab` to `4.0.0-alpha.57`
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
"@backstage/theme": "^0.2.10",
|
||||
"@material-ui/core": "^4.12.2",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
"@material-ui/lab": "4.0.0-alpha.45",
|
||||
"@material-ui/lab": "4.0.0-alpha.57",
|
||||
"@testing-library/react-hooks": "^3.4.2",
|
||||
"react": "^16.13.1",
|
||||
"react-dom": "^16.13.1",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
import { Button, Grid } from '@material-ui/core';
|
||||
import Pagination from '@material-ui/lab/Pagination';
|
||||
import React, { ReactNode, useMemo, useState } from 'react';
|
||||
import React, { ChangeEvent, ReactNode, useMemo, useState } from 'react';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { useAsync, useLocalStorage } from 'react-use';
|
||||
import { lighthouseApiRef } from '../../api';
|
||||
@@ -78,7 +78,7 @@ const AuditList = () => {
|
||||
<Pagination
|
||||
page={page}
|
||||
count={pageCount}
|
||||
onChange={(_event: Event, newPage: number) => {
|
||||
onChange={(_event: ChangeEvent<unknown>, newPage: number) => {
|
||||
navigate(`?page=${newPage}`);
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user