chore: dependency updates (#448)

This commit is contained in:
2022-04-13 15:44:42 +02:00
committed by GitHub
parent 2cb74c8268
commit e916177569
11 changed files with 1384 additions and 1761 deletions

View File

@@ -1,5 +1,5 @@
import React from 'react';
import { useHistory } from 'react-router';
import { useNavigate } from 'react-router';
import Welcome from './Welcome';
import {
Button,
@@ -18,14 +18,14 @@ const Thumb: React.FC = ({
link,
className,
}) => {
const history = useHistory();
const navigate = useNavigate();
return (
<Button
size="large"
icon={<Icon />}
type="link"
className={className}
onClick={() => history.push(link)}
onClick={() => navigate(link)}
>
{title}
</Button>