chore: Update ThemePage component to fetch readme asynchronously

This commit is contained in:
Mauro Balades
2024-08-25 00:07:33 +02:00
parent 5a465c9e36
commit c691a4e7e8

View File

@@ -20,7 +20,7 @@ export default async function ThemePage() {
useEffect(() => {
getThemeMarkdown(theme).then(setReadme);
}, [theme]);
}, []);
return (
<div className="mt-24 lg:mt-56 flex-col lg:flex-row flex mx-auto items-start relative">