Skip to content

Commit 7e962e8

Browse files
committed
🐛 Fix kitchen sink posts not displaying
1 parent 666f182 commit 7e962e8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/query/react/kitchen-sink/public/mockServiceWorker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/* tslint:disable */
33

44
/**
5-
* Mock Service Worker (0.39.2).
5+
* Mock Service Worker (0.41.1).
66
* @see https://github.com/mswjs/msw
77
* - Please do NOT modify this file.
88
* - Please do NOT serve this file on production.

examples/query/react/kitchen-sink/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function App() {
2727
<Routes>
2828
<Route path="/" element={<TimeList />} />
2929
<Route path="/counters" element={<CounterList />} />
30-
<Route path="/posts" element={<PostsManager />} />
30+
<Route path="/posts/*" element={<PostsManager />} />
3131
<Route path="/bundleSplitting" element={<Lazy />} />
3232
</Routes>
3333
</div>

examples/query/react/kitchen-sink/src/features/posts/PostsManager.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export const PostsManager = () => {
124124
</div>
125125
<div className="column column-3 text-left">
126126
<Routes>
127-
<Route path="/posts/:id" element={<PostDetail />} />
127+
<Route path="/:id" element={<PostDetail />} />
128128
</Routes>
129129
</div>
130130
</div>

0 commit comments

Comments
 (0)