File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ const AppHeader = () => {
5353 </ CHeaderToggler >
5454 < CHeaderNav className = "d-none d-md-flex" >
5555 < CNavItem >
56- < CNavLink to = "/dashboard" component = { NavLink } >
56+ < CNavLink to = "/dashboard" as = { NavLink } >
5757 Dashboard
5858 </ CNavLink >
5959 </ CNavItem >
@@ -99,7 +99,7 @@ const AppHeader = () => {
9999 < CDropdownItem
100100 active = { colorMode === 'light' }
101101 className = "d-flex align-items-center"
102- component = "button"
102+ as = "button"
103103 type = "button"
104104 onClick = { ( ) => setColorMode ( 'light' ) }
105105 >
@@ -108,7 +108,7 @@ const AppHeader = () => {
108108 < CDropdownItem
109109 active = { colorMode === 'dark' }
110110 className = "d-flex align-items-center"
111- component = "button"
111+ as = "button"
112112 type = "button"
113113 onClick = { ( ) => setColorMode ( 'dark' ) }
114114 >
@@ -117,7 +117,7 @@ const AppHeader = () => {
117117 < CDropdownItem
118118 active = { colorMode === 'auto' }
119119 className = "d-flex align-items-center"
120- component = "button"
120+ as = "button"
121121 type = "button"
122122 onClick = { ( ) => setColorMode ( 'auto' ) }
123123 >
You can’t perform that action at this time.
0 commit comments