Skip to content

Commit

Permalink
chore: fix the example plugins in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
ArjixWasTaken authored Dec 18, 2023
1 parent d6566fb commit f564039
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,9 @@ import style from './style.css?inline'; // import style as inline

import { createPlugin } from '@/utils';

const builder = createPlugin({
export default createPlugin({
name: 'Plugin Label',
restartNeeded: true, // if value is true, ytmusic show restart dialog
restartNeeded: true, // if value is true, ytmusic will show a restart dialog
config: {
enabled: false,
}, // your custom config
Expand All @@ -306,9 +306,9 @@ const builder = createPlugin({
```typescript
import { createPlugin } from '@/utils';

const builder = createPlugin({
export default createPlugin({
name: 'Plugin Label',
restartNeeded: true, // if value is true, ytmusic show restart dialog
restartNeeded: true, // if value is true, ytmusic will show the restart dialog
config: {
enabled: false,
}, // your custom config
Expand Down

0 comments on commit f564039

Please sign in to comment.