@colisweb/rescript-toolkit 4.12.0 → 4.12.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colisweb/rescript-toolkit",
3
- "version": "4.12.0",
3
+ "version": "4.12.1",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "clean": "rescript clean",
@@ -282,7 +282,7 @@ module Make = (Config: RouterConfig) => {
282
282
  "sidenav-link",
283
283
  isActive && !disabledActiveLink ? "bg-primary-100/75 text-neutral-700" : "",
284
284
  ])}
285
- activeClassName="bg-primary-100/75 text-neutral-700"
285
+ activeClassName={disabledActiveLink ? "" : "bg-primary-100/75 text-neutral-700"}
286
286
  onClick={_ => onLinkClick()}>
287
287
  <span className="overflow-hidden flex">
288
288
  {config.icon->Option.mapWithDefault(React.null, icon =>