mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(cleanup): remove unused code causing warnings
This commit is contained in:
@@ -9,23 +9,4 @@ export class RouteLink {
|
||||
|
||||
// The instance of the router
|
||||
@Prop() router: any;
|
||||
|
||||
handleClick(e: any) {
|
||||
console.log('Route link click', e);
|
||||
/*
|
||||
router.navigateTo(this.url)
|
||||
*/
|
||||
}
|
||||
|
||||
render() {
|
||||
/*
|
||||
const router = document.querySelector(this.router);
|
||||
const match = router.match
|
||||
console.log(` <ion-route-link> Rendering route ${this.url}`, router, match);
|
||||
|
||||
return (
|
||||
<a onClick={this.handleClick.bind(this)}><slot></slot></a>
|
||||
);
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user