fix typescript weirdness while migrating from material v4
This commit is contained in:
@@ -22,7 +22,7 @@ export default function AnimeGrid(props: IProps) {
|
||||
mangas, message, hasNextPage, lastPageNum, setLastPageNum,
|
||||
} = props;
|
||||
let mapped;
|
||||
const lastManga = useRef<HTMLInputElement>();
|
||||
const lastManga = useRef<HTMLInputElement>(null);
|
||||
|
||||
const scrollHandler = () => {
|
||||
if (lastManga.current) {
|
||||
|
||||
Reference in New Issue
Block a user