diff --git a/README.md b/README.md index 1a56786..c2bb91f 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,16 @@ export function App() { ); }, })} - SelectSchool={({ history }) => history.push('EnterJoinDate', { school })} />} + SelectSchool={({ history }) => ( + + history.push('EnterJoinDate', (prev) => ({ + ...prev, + school + })) + } + /> + )} SelectEmployee={({ history }) => (