From d2d181764b6a36bf2e8f27d6ea2ffd38792c94e3 Mon Sep 17 00:00:00 2001 From: Rui Wu Date: Fri, 20 Sep 2024 09:46:11 +0800 Subject: [PATCH] chore: biome fix --- docs/.vitepress/theme/custom.css | 4 ++-- packages/core/src/composables.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/.vitepress/theme/custom.css b/docs/.vitepress/theme/custom.css index 2d74226..66dcace 100644 --- a/docs/.vitepress/theme/custom.css +++ b/docs/.vitepress/theme/custom.css @@ -9,8 +9,8 @@ } /** - * Component: Home - * -------------------------------------------------------------------------- */ + * Component: Home + * -------------------------------------------------------------------------- */ :root { --vp-home-hero-name-color: transparent; diff --git a/packages/core/src/composables.ts b/packages/core/src/composables.ts index 38832e2..800840f 100644 --- a/packages/core/src/composables.ts +++ b/packages/core/src/composables.ts @@ -199,7 +199,7 @@ export function useUn, D = any>( ) => { error.value = undefined; const _url = - typeof executeUrl === "string" ? executeUrl : url ?? config.url; + typeof executeUrl === "string" ? executeUrl : (url ?? config.url); if (_url === undefined) { error.value = new UnError(UnError.ERR_INVALID_URL);