There was an error while loading. Please reload this page.
1 parent 4a53f79 commit fb89e54Copy full SHA for fb89e54
1 file changed
19_RenderProps/Readme.md
@@ -130,7 +130,7 @@ interface Props {
130
login : string;
131
}
132
133
-const LoginComponent = (props: Props) =>
+const PageBComponent = (props: Props) =>
134
<>
135
<h2>Hello from page B</h2>
136
<br />
@@ -146,7 +146,7 @@ export const PageB = () =>
146
<Session
147
render={
148
login => (
149
- <LoginComponent login={login}></LoginComponent>
+ <PageBComponent login={login}></PageBComponent>
150
)}
151
>
152
</Session>
0 commit comments