Fixing react hook error

This commit is contained in:
Vladyslav Matsiiako
2022-12-27 18:24:27 -05:00
parent 1459370458
commit c9d71ad887

View File

@@ -39,8 +39,6 @@ const learningItem = ({
userAction,
link
}: ItemProps): JSX.Element => {
const { t } = useTranslation();
if (link) {
return (
<Link href={link}>