From f564039438957b8c6c1d495368b71e6a62ec1372 Mon Sep 17 00:00:00 2001 From: Angelos Bouklis Date: Mon, 18 Dec 2023 14:47:18 +0200 Subject: [PATCH] chore: fix the example plugins in the README --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2c82dda2..50130f91 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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