sit-onyx 1.0.0-beta.321 → 1.0.0-beta.322
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1374,7 +1374,7 @@ const useLink = () => {
|
|
|
1374
1374
|
const { hash } = currentRoute.value;
|
|
1375
1375
|
if (href === "/") return path === href;
|
|
1376
1376
|
if (hash && hash === href) return true;
|
|
1377
|
-
return path
|
|
1377
|
+
return path === href;
|
|
1378
1378
|
};
|
|
1379
1379
|
});
|
|
1380
1380
|
return { navigate, currentRoute, isActive };
|