We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f10dff commit 7147668Copy full SHA for 7147668
README.md
@@ -63,7 +63,16 @@ export function App() {
63
);
64
},
65
})}
66
- SelectSchool={({ history }) => <SelectSchool onNext={(school) => history.push('EnterJoinDate', { school })} />}
+ SelectSchool={({ history }) => (
67
+ <SelectSchool
68
+ onNext={(school) =>
69
+ history.push('EnterJoinDate', (prev) => ({
70
+ ...prev,
71
+ school
72
+ }))
73
+ }
74
+ />
75
+ )}
76
SelectEmployee={({ history }) => (
77
<SelectEmployee
78
onNext={(company) =>
0 commit comments