Skip to content

Commit 834b928

Browse files
authored
Merge pull request #23 from nilportugues/patch-1
Use FlexibleSwitch in README.md example
2 parents 5f160cb + 3150363 commit 834b928

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const FlexibleSwitch = ({ children }) => (
9898
const AppRoutes = ({ user }) => (
9999
<Router>
100100
<GlobalNavigation user={user} />
101-
<Switch>
101+
<FlexibleSwitch>
102102
<Route path="/about">
103103
<About />
104104
</Route>
@@ -115,7 +115,7 @@ const AppRoutes = ({ user }) => (
115115
<Route path="/">
116116
<Home />
117117
</Route>
118-
</Switch>
118+
</FlexibleSwitch>
119119
</Router>
120120
);
121121
```

0 commit comments

Comments
 (0)