gemi 0.4.29 → 0.4.30

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.
@@ -1526,7 +1526,7 @@ const Link = (props) => {
1526
1526
  return /* @__PURE__ */ jsx(
1527
1527
  "a",
1528
1528
  {
1529
- "data-active": pathname.startsWith(p),
1529
+ "data-active": p === "/" ? pathname === p : pathname.startsWith(p),
1530
1530
  href: path,
1531
1531
  onClick: (e) => {
1532
1532
  e.preventDefault();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemi",
3
- "version": "0.4.29",
3
+ "version": "0.4.30",
4
4
  "devDependencies": {
5
5
  "@happy-dom/global-registrator": "^14.12.3",
6
6
  "@repo/eslint-config": "*",