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);