From da889f76b9f1036bb5e4156871ab36acc7e6e533 Mon Sep 17 00:00:00 2001 From: jycouet Date: Thu, 19 Jun 2025 12:08:19 +0200 Subject: [PATCH] fix typo --- .../src/content/docs/docs/tools/06_vite-plugin-kit-routes.mdx | 2 +- packages/vite-plugin-kit-routes/src/lib/plugin.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/content/docs/docs/tools/06_vite-plugin-kit-routes.mdx b/docs/src/content/docs/docs/tools/06_vite-plugin-kit-routes.mdx index afc20685..acf8a6ab 100644 --- a/docs/src/content/docs/docs/tools/06_vite-plugin-kit-routes.mdx +++ b/docs/src/content/docs/docs/tools/06_vite-plugin-kit-routes.mdx @@ -161,7 +161,7 @@ plugins: [ }, explicit_search_params: { s: { type: 'number', default: 75 }, - d: { type: '"retro" | "identicon"', default: '"identicon"' }, + d: { type: '"retro" | "identicon"', default: 'identicon' }, }, }, } diff --git a/packages/vite-plugin-kit-routes/src/lib/plugin.ts b/packages/vite-plugin-kit-routes/src/lib/plugin.ts index c8e9b713..24f2523d 100644 --- a/packages/vite-plugin-kit-routes/src/lib/plugin.ts +++ b/packages/vite-plugin-kit-routes/src/lib/plugin.ts @@ -212,7 +212,7 @@ export type Options = { * href: 'https://www.gravatar.com/avatar/[str]', * explicit_search_params: { * s: { type: 'number', default: 75 }, - * d: { type: '"retro" | "identicon"', default: '"identicon"' }, + * d: { type: '"retro" | "identicon"', default: 'identicon' }, * }, * }, * // ✅ logo @@ -267,7 +267,7 @@ export type CustomPath = { * hash: { * type: '"section0" | "section1" | "section2" | "section3"', * required: true, - * default: '"section0"', + * default: 'section0', * } */ hash?: ExtendParam & { -- 2.51.2