mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 04:26:57 +00:00
Fix layout on Windows + duplicating legends
This commit is contained in:
@@ -19,7 +19,7 @@ const TestableLayout = ({
|
|||||||
<NextIntlClientProvider locale={locale} messages={messages}>
|
<NextIntlClientProvider locale={locale} messages={messages}>
|
||||||
<div className="bg-white font-sans leading-normal tracking-normal dark:bg-gray-800">
|
<div className="bg-white font-sans leading-normal tracking-normal dark:bg-gray-800">
|
||||||
<Navbar />
|
<Navbar />
|
||||||
<div className="relative min-h-content overflow-scroll">{children}</div>
|
<div className="relative min-h-content">{children}</div>
|
||||||
<Footer />
|
<Footer />
|
||||||
</div>
|
</div>
|
||||||
</NextIntlClientProvider>
|
</NextIntlClientProvider>
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ const Legend = () => {
|
|||||||
|
|
||||||
legend.addTo(map);
|
legend.addTo(map);
|
||||||
}
|
}
|
||||||
}, [map, t, timeControls]);
|
}, [map, t]); // eslint-disable-line react-hooks/exhaustive-deps
|
||||||
return null;
|
return null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user