From 5699e2b166ca08b0c2603b31fe13e320d2fb5ce5 Mon Sep 17 00:00:00 2001 From: Bel Curcio Date: Tue, 8 Dec 2020 11:16:44 -0300 Subject: [PATCH] Logo Changes --- components/common/I18nWidget/I18nWidget.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/common/I18nWidget/I18nWidget.tsx b/components/common/I18nWidget/I18nWidget.tsx index 92b40322d..995e1faee 100644 --- a/components/common/I18nWidget/I18nWidget.tsx +++ b/components/common/I18nWidget/I18nWidget.tsx @@ -1,6 +1,6 @@ import cn from 'classnames' import Link from 'next/link' -import { useRef, FC, useState } from 'react' +import { FC, useState } from 'react' import { useRouter } from 'next/router' import s from './I18nWidget.module.css' import { Cross, ChevronUp } from '@components/icons' @@ -41,10 +41,9 @@ const I18nWidget: FC = () => { const options = locales?.filter((val) => val !== locale) const currentLocale = locale || defaultLocale - const ref = useRef(null) return ( - setDisplay(false)} ref={ref}> + setDisplay(false)} >