polish(v2): improve codesandbox template package.json (#4074)

This commit is contained in:
Sébastien Lorber 2021-01-20 13:29:45 +01:00 committed by GitHub
parent 0a5d3069ee
commit eeb167e244
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 119 additions and 89 deletions

View file

@ -54,7 +54,7 @@ function Feature({imageUrl, title, description}) {
);
}
export default function Home() {
function Home() {
const context = useDocusaurusContext();
const {siteConfig = {}} = context;
return (
@ -93,3 +93,5 @@ export default function Home() {
</Layout>
);
}
export default Home;