diff --git a/src/app/dashboard/[subdomain]/comments/page.tsx b/src/app/dashboard/[subdomain]/comments/page.tsx index b8520ec5..6f4be148 100644 --- a/src/app/dashboard/[subdomain]/comments/page.tsx +++ b/src/app/dashboard/[subdomain]/comments/page.tsx @@ -13,7 +13,7 @@ import { useGetCommentsBySite, useGetSite } from "~/queries/site" export default function CommentsPage() { const params = useParams() const subdomain = params?.subdomain as string - const { t } = useTranslation("dashboard") + const { t, i18n } = useTranslation("dashboard") const site = useGetSite(subdomain) @@ -83,6 +83,7 @@ export default function CommentsPage() {
{name}{" "}
- + Integrate Google Analytics into your site. You can follow the instructions{" "} - + Integrate Umami Cloud Analytics into your site. You can follow the instructions{" "} ([]) @@ -167,7 +167,7 @@ export default function SiteSettingsNavigationPage() {

- + We support{" "}

- + You can also connect to Twitter, Telegram Channel, Medium, Substack and more and automatically sync content on{" "} diff --git a/src/app/site/[site]/layout.tsx b/src/app/site/[site]/layout.tsx index 754ca3f3..ee54c97b 100644 --- a/src/app/site/[site]/layout.tsx +++ b/src/app/site/[site]/layout.tsx @@ -7,7 +7,7 @@ import { Hydrate, dehydrate } from "@tanstack/react-query" import { BlockchainInfo } from "~/components/common/BlockchainInfo" import { Style } from "~/components/common/Style" import { BackToTopFAB } from "~/components/site/BackToTopFAB" -import { SiteFooter } from "~/components/site/SiteFooter" +import SiteFooter from "~/components/site/SiteFooter" import { SiteHeader } from "~/components/site/SiteHeader" import { FABContainer } from "~/components/ui/FAB" import { SITE_URL } from "~/lib/env" @@ -170,8 +170,8 @@ export default async function SiteLayout({

)} + {/* @ts-expect-error Async Server Component */} - diff --git a/src/components/common/FollowingButton.tsx b/src/components/common/FollowingButton.tsx index 31328bdb..27c0ec6e 100644 --- a/src/components/common/FollowingButton.tsx +++ b/src/components/common/FollowingButton.tsx @@ -23,7 +23,7 @@ export const FollowingButton: React.FC<{ }> = ({ site, variant, className, size, loadingStatusChange }) => { const subscribeToSite = useSubscribeToSite() const unsubscribeFromSite = useUnsubscribeFromSite() - const { t } = useTranslation("common") + const { t, i18n } = useTranslation("common") const handleClickSubscribe = () => { if (site?.characterId) { @@ -54,7 +54,7 @@ export const FollowingButton: React.FC<{ subscribeToSite.reset() toast.success( - + Hey there! You're all set to{" "} keep up with your followed blogger's latest buzz here diff --git a/src/components/dashboard/PagesManager.tsx b/src/components/dashboard/PagesManager.tsx index af7dc6d1..d80163af 100644 --- a/src/components/dashboard/PagesManager.tsx +++ b/src/components/dashboard/PagesManager.tsx @@ -48,7 +48,7 @@ export const PagesManager: React.FC<{ [searchParams], ) - const { t } = useTranslation("dashboard") + const { t, i18n } = useTranslation("dashboard") const { t: siteT } = useTranslation("site") const date = useDate() @@ -143,7 +143,7 @@ export const PagesManager: React.FC<{ const description = isPost ? ( <>

- + Posts are entries listed in reverse chronological order on your site. Think of them as articles or updates that you share to offer up new content to your readers.{" "} @@ -156,7 +156,7 @@ export const PagesManager: React.FC<{ ) : ( <>

- + Pages are static and are not affected by date. Think of them as more permanent fixtures of your site โ€” an About page, and a Contact page are great examples of this.{" "} @@ -169,7 +169,7 @@ export const PagesManager: React.FC<{

- + After you create a page, you can{" "} = ({ site }) => { +}) { const LogoWithLink = () => { return (