fix: hydration

This commit is contained in:
TrèsAbhi committed 2026-01-16 20:13:56 -06:00
1 parent 369ac113fa
commit 47b583821e
5 files changed
+37 -24

No files matched your search

@@ -3,7 +3,7 @@ import { AvatarsList } from "../../../components/AvatarsList";
import { Section } from "../../../components/Section";
import { LocaleProvider } from "../../../hooks/useLocale";
interface PageProps extends ContentProps {
interface PageProps {
locale: string;
}
@@ -15,11 +15,7 @@ export function Page({ locale, ...props }: PageProps) {
);
}
interface ContentProps {
skeleton?: boolean;
}
function Content({}: ContentProps) {
function Content() {
return (
<>
<Section>
@@ -11,8 +11,5 @@ const { locale } = Astro.props;
<BaseLayout {locale} accent="gold">
<ToolBanner {locale} tool={tools.avatars} slot="pre-app" />
<Page {locale} client:only="react">
<Page {locale} skeleton slot="fallback" />
</Page>
<Page {locale} client:load />
</BaseLayout>