fix error
This commit is contained in:
parent
b1b6b0ce4d
commit
186193c450
@ -68,10 +68,7 @@ function App() {
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<Routes>
|
<Routes>
|
||||||
<Route
|
<Route path="/" element={<PersonList people={people} />} />
|
||||||
path="/"
|
|
||||||
element={<PersonList people={people} onRefresh={fetchPeople} />}
|
|
||||||
/>
|
|
||||||
<Route path="/games" element={<GameList />} />
|
<Route path="/games" element={<GameList />} />
|
||||||
<Route path="/filter" element={<GameFilter />} />
|
<Route path="/filter" element={<GameFilter />} />
|
||||||
<Route path="/person/:name" element={<PersonDetails />} />
|
<Route path="/person/:name" element={<PersonDetails />} />
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user