mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-22 05:27:00 +02:00
refactor: use cache for blogDatas generation
This commit is contained in:
parent
f7f063c56e
commit
a80399631f
4 changed files with 25 additions and 9 deletions
|
@ -17,8 +17,8 @@ class App extends React.Component {
|
|||
<div>
|
||||
{blogDatas.map(({path}) => {
|
||||
return (
|
||||
<div>
|
||||
<Link key={path} to={path}>
|
||||
<div key={path}>
|
||||
<Link to={path}>
|
||||
{path}
|
||||
</Link>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue