Merge pull request #84 from TheRealOwenRees/hotfix/bugs

Bug fixes
This commit is contained in:
Owen Rees
2023-07-07 13:58:18 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ const TestableLayout = ({
<NextIntlClientProvider locale={locale} messages={messages}>
<div className="bg-white font-sans leading-normal tracking-normal dark:bg-gray-800">
<Navbar />
<div className="relative min-h-content overflow-scroll">{children}</div>
<div className="relative min-h-content">{children}</div>
<Footer />
</div>
</NextIntlClientProvider>
+1 -1
View File
@@ -55,7 +55,7 @@ const Legend = () => {
legend.addTo(map);
}
}, [map, t, timeControls]);
}, [map, t]); // eslint-disable-line react-hooks/exhaustive-deps
return null;
};