mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-01 10:22:30 +02:00
docs: fix example plugin implementation (#8455)
chore: fix bug in the docs implementation
This commit is contained in:
parent
f22da5ac12
commit
b064311ebc
4 changed files with 4 additions and 4 deletions
|
@ -126,7 +126,7 @@ import React from 'react';
|
|||
import {usePluginData} from '@docusaurus/useGlobalData';
|
||||
|
||||
export default function FriendsComponent() {
|
||||
const {friends} = usePluginData('my-friends-plugin');
|
||||
const {friends} = usePluginData('docusaurus-friends-plugin');
|
||||
return <div>Your friends are {friends.join(',')}</div>;
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue