Skip to content

Commit 78d01c2

Browse files
committed
[fix] @observer is missing on Nav component
1 parent e9c5620 commit 78d01c2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "boot-cell",
3-
"version": "2.0.0-rc.2",
3+
"version": "2.0.0-rc.3",
44
"license": "LGPL-3.0",
55
"author": "[email protected]",
66
"description": "Web Components UI library based on WebCell v3, BootStrap v5, BootStrap Icon v1 & FontAwesome v6",

source/Navigator/Nav.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
WebCellProps,
88
attribute,
99
component,
10+
observer,
1011
reaction
1112
} from 'web-cell';
1213
import { CustomElement } from 'web-utility';
@@ -63,6 +64,7 @@ export interface Nav extends WebCell<NavProps> {}
6364
tagName: 'bs-nav',
6465
mode: 'open'
6566
})
67+
@observer
6668
export class Nav extends HTMLElement implements CustomElement {
6769
@attribute
6870
@observable

0 commit comments

Comments
 (0)