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