diff --git a/src/components/manga/MangaDetails.tsx b/src/components/manga/MangaDetails.tsx
index ed40238d..e1967855 100644
--- a/src/components/manga/MangaDetails.tsx
+++ b/src/components/manga/MangaDetails.tsx
@@ -133,17 +133,12 @@ const Genres = styled('div')(() => ({
const OpenSourceButton = ({ url }: { url?: string | null }) => {
const { t } = useTranslation();
- const button = useMemo(
- () => (
- } size="large">
+ if (!url) {
+ return (
+ } size="large">
{t('global.button.open_site')}
- ),
- [url],
- );
-
- if (!url) {
- return button;
+ );
}
return (