Skip to content

Commit

Permalink
add isBrowser()
Browse files Browse the repository at this point in the history
  • Loading branch information
seadfeng committed Aug 27, 2024
1 parent 68f2641 commit 3a6f581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/frontend/page/home/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export function Main({
</Form>
{error && <div className="rounded-md border border-red-500 p-10 mb-10">{error}</div>}
{fetching && <Skeleton className="h-72 w-full rounded-md mb-8" />}
{info && <Results info={info} />}
{info && isBrowser() && <Results info={info} />}
{host && isBrowser() && images.map(image => <ImageCode {...image} key={image.src} />)}
{block1 && <Markdown content={block1} className="mt-10" />}
<Faqs faqs={faqs} title={t('frontend.home.faq.title')} />
Expand Down

0 comments on commit 3a6f581

Please sign in to comment.