Skip to content

Commit fac7e8b

Browse files
committed
chore: update CodeblockSkeleton
1 parent 96bfaa9 commit fac7e8b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/pages/index.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,15 @@ export const getStaticProps = (async ({ locale }) => {
226226
}
227227
}) satisfies GetStaticProps<Props>
228228

229-
// Lazy-load Codeblock on initial load
230229
const CodeblockSkeleton = () => (
231230
<Stack px={6} pt="2.75rem" h="50vh">
232-
<SkeletonText mt="4" noOfLines={12} startColor="body.base" />
231+
<SkeletonText
232+
mt="4"
233+
noOfLines={10}
234+
spacing={3}
235+
skeletonHeight="1rem"
236+
startColor="body.base"
237+
/>
233238
</Stack>
234239
)
235240

0 commit comments

Comments
 (0)