File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- npm link ../coreui- pro-react-admin-template /node_modules/react
2
- npm link ../coreui- pro-react-admin-template /node_modules/react-dom
3
- npm link ../coreui- pro-react-admin-template /node_modules/react-router-dom
1
+ npm link ../pro/node_modules/react
2
+ npm link ../pro/node_modules/react-dom
3
+ npm link ../pro/node_modules/react-router-dom
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import React from 'react';
2
2
import PropTypes from 'prop-types' ;
3
3
import classNames from 'classnames' ;
4
4
import { tagPropType , mapToCssModules } from './Shared/helper.js' ;
5
- import { Link } from 'react-router-dom' ;
5
+ import { NavLink } from 'react-router-dom' ;
6
6
7
7
//component - CoreUI / CLink
8
8
@@ -49,7 +49,7 @@ const CLink = props=>{
49
49
50
50
return (
51
51
to ?
52
- < Link to = { to } { ...attributes } className = { classes } ref = { innerRef } /> :
52
+ < NavLink to = { to } { ...attributes } className = { classes } ref = { innerRef } /> :
53
53
< a href = { href2 } { ...attributes } className = { classes } onClick = { onClick } ref = { innerRef } />
54
54
) ;
55
55
You can’t perform that action at this time.
0 commit comments