From 35a50ae60db7f4ced3d33b838e84d748f92b987f Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Mon, 18 Mar 2024 15:30:28 +0100 Subject: [PATCH] chore(Link): clean --- src/runtime/components/Link.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/components/Link.vue b/src/runtime/components/Link.vue index a087bb64..d989ba97 100644 --- a/src/runtime/components/Link.vue +++ b/src/runtime/components/Link.vue @@ -23,7 +23,7 @@ defineOptions({ inheritAttrs: false }) const props = withDefaults(defineProps(), { as: 'button', type: 'button', active: undefined }) -const forward = useForwardProps(reactiveOmit(props, 'as', 'type', 'disabled', 'active', 'exact', 'exactQuery', 'exactHash', 'activeClass', 'inactiveClass')) +const nuxtLinkProps = useForwardProps(reactiveOmit(props, 'as', 'type', 'disabled', 'active', 'exact', 'exactQuery', 'exactHash', 'activeClass', 'inactiveClass')) function resolveLinkClass (route: RouteLocation, currentRoute: RouteLocation, { isActive, isExactActive }: { isActive: boolean, isExactActive: boolean }) { if (props.exactQuery && !isEqual(route.query, currentRoute.query)) { @@ -56,7 +56,7 @@ function resolveLinkClass (route: RouteLocation, currentRoute: RouteLocation, { > - +