+
= ({ menu, logo }) => {
const router = useRouter();
- const navRef = useRef();
+ const navRef = useRef(null);
const [iseMenuScrollable, setIsMenuScrollable] = useState(false);
function handleLocale(e: MouseEvent) {
@@ -19,7 +19,7 @@ const NavBar: React.FC<{ menu: any; logo: string }> = ({ menu, logo }) => {
}
function checkScrollableMenu() {
- const navbar = navRef.current;
+ const navbar: HTMLDivElement = navRef.current;
if (navbar) setIsMenuScrollable(navbar.scrollWidth > navbar.offsetWidth);
}
diff --git a/components/organization/MainOptions.tsx b/components/organization/MainOptions.tsx
index cc3b14a..7e7a536 100644
--- a/components/organization/MainOptions.tsx
+++ b/components/organization/MainOptions.tsx
@@ -153,7 +153,9 @@ const MainOptions: React.FC = ({
{children?.length > 0 && (
-
{t('og-h-sub')}
+
+ {t('og-h-sub')}
+
)}
diff --git a/components/resource/About.tsx b/components/resource/About.tsx
index 2467f76..63aff74 100644
--- a/components/resource/About.tsx
+++ b/components/resource/About.tsx
@@ -38,7 +38,7 @@ const About: React.FC<{ variables: any }> = ({ variables }) => {
return (
<>
-
+
diff --git a/components/resource/ResourceExplorer.tsx b/components/resource/ResourceExplorer.tsx
index e57212f..02ebda4 100644
--- a/components/resource/ResourceExplorer.tsx
+++ b/components/resource/ResourceExplorer.tsx
@@ -109,7 +109,7 @@ const DataExplorer: React.FC<{ dataset: any; columnHeaderStyle: any }> = ({
return (
{/* Preview: show Data Explorer if tabular data + datastore active */}
-
+
diff --git a/components/search/FiltersBar.tsx b/components/search/FiltersBar.tsx
index d4fbebe..53c8cb3 100644
--- a/components/search/FiltersBar.tsx
+++ b/components/search/FiltersBar.tsx
@@ -261,11 +261,11 @@ export default function FiltersBar({
sideFilter.organization.forEach((el) => fixTranslations(el));
return (
-
+
{filters === t('topics') && (
<>
-
-
+
+
-
+
@@ -284,7 +284,7 @@ export default function FiltersBar({