From c9d71ad887219ca37597f6c9ea811ad2186d864b Mon Sep 17 00:00:00 2001 From: Vladyslav Matsiiako Date: Tue, 27 Dec 2022 18:24:27 -0500 Subject: [PATCH] Fixing react hook error --- frontend/pages/home/[id].tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/pages/home/[id].tsx b/frontend/pages/home/[id].tsx index a5812fc35..e203346ef 100644 --- a/frontend/pages/home/[id].tsx +++ b/frontend/pages/home/[id].tsx @@ -39,8 +39,6 @@ const learningItem = ({ userAction, link }: ItemProps): JSX.Element => { - const { t } = useTranslation(); - if (link) { return (