Skip to content

Commit

Permalink
fix components for @next package
Browse files Browse the repository at this point in the history
  • Loading branch information
cxznmhdcxz committed Oct 13, 2023
1 parent 8678d5d commit 2331882
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion samples/ingress/frontend/components/TodoFooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default class TodoFooter extends React.Component {
return (
<div className="filters">
<div className="todo-count">{this.props.todoCount} {activeTodoWord} left</div>
<div className="stats-link"><Link prefetch href="/stats"><a>stats</a></Link></div>
<div className="stats-link"><Link prefetch href="/stats" legacyBehavior><a>stats</a></Link></div>
<style jsx>{`
.filters {
color: #777;
Expand Down
2 changes: 1 addition & 1 deletion samples/ingress/frontend/pages/stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default class Stats extends React.Component {
return (
<div>
<div className="container-fluid app-title">
<Link prefetch href="/">
<Link prefetch href="/" legacyBehavior>
<h1 className="app-title"><i className="fas fa-arrow-left"></i> todo <span className="no-color">stats</span></h1>
</Link>
<div className="row">
Expand Down

0 comments on commit 2331882

Please sign in to comment.