no message

This commit is contained in:
chenxuan
2024-04-19 17:02:11 +08:00
parent e55d1dcf0e
commit 0a25c95a2e
4 changed files with 1 additions and 19 deletions
-2
View File
@@ -22,10 +22,8 @@ class App extends Component{
<NavLink to='/ref2'>ref-内联函数</NavLink>
<NavLink to='/ref3'>ref-函数</NavLink>
<NavLink to='/ref4'>createRef</NavLink>
<NavLink to='/life'>生命周期函数</NavLink>
<NavLink to='/github'>github搜索demo</NavLink>
<NavLink to='/confirm'>Confirm</NavLink>
<NavLink to='/todo'>Todo</NavLink>
<NavLink to='/toast'>Toast</NavLink>
<NavLink to='/hoc1'>高阶组件1</NavLink>
-11
View File
@@ -1,11 +0,0 @@
import React from "react";
class App extends React.Component {
render() {
return (
<div>
<h1>Hello World</h1>
</div>
);
}
}
export default App
-5
View File
@@ -10,7 +10,6 @@ import This from "../pages/this"
import Life from "../pages/life"
import Hoc1 from "../pages/hoc1"
import Github from "../pages/github"
import Confirm from "../pages/confirm"
import Toast from "../pages/toast"
const routes = [
{
@@ -61,10 +60,6 @@ const routes = [
path: "/github",
component: Github
},
{
path: "/confirm",
component: Confirm
},
{
path: "/toast",
component: Toast