Skip to content

Commit

Permalink
docs: enable SSG for overview page (#1710)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan authored Mar 1, 2024
1 parent ae8e1dc commit a071be0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/document/src/components/Overview.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { NoSSR } from 'rspress/runtime';
import { useUrl } from '../utils';
import styles from './Overview.module.scss';

Expand Down Expand Up @@ -32,9 +31,5 @@ export default function Overview() {
</>
));

return (
<NoSSR>
<div className={styles.root}>{Nodes}</div>
</NoSSR>
);
return <div className={styles.root}>{Nodes}</div>;
}

0 comments on commit a071be0

Please sign in to comment.