Skip to content

Commit aa922af

Browse files
committed
base do route e coordinator feitos.
1 parent 775ef3c commit aa922af

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

pokedex/src/App.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
import React from "react";
2-
3-
42
import PokedexPage from "./Pages/PokedexPage/PokedexPage";
5-
63
import { createGlobalStyle } from "styled-components";
7-
84
import './index.css'
95
import { Router } from "./Routes/Route";
106

@@ -26,10 +22,7 @@ function App() {
2622
<div className="App">
2723
<Router></Router>
2824
<GlobalStyle/>
29-
3025
<PokedexPage/>
31-
32-
3326
</div>
3427
);
3528
}

pokedex/src/Routes/Coordinator.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
3+
const goToHome = () =>{
4+
5+
}
6+
7+
const goToList = () =>{
8+
9+
}
10+
11+
const goToDetail = () =>{
12+
13+
}

pokedex/src/Routes/Route.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import { BrowserRouter, Route, Routes } from "react-router-dom";
32
import pokedexPage from "../Pages/PokedexPage/PokedexPage";
43
import pokemonDetailPage from "../Pages/PokemonDetailPage/PokemonDetailPage";

0 commit comments

Comments
 (0)