We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bee852d commit ae50bbdCopy full SHA for ae50bbd
1 file changed
apps/web/src/routes/_app/session/start-session.tsx
@@ -15,6 +15,7 @@ const RouteComponent = () => {
15
const currentGroup = useAppStore((store) => store.currentGroup);
16
const currentSession = useAppStore((store) => store.currentSession);
17
const startSession = useAppStore((store) => store.startSession);
18
+ const currentUser = useAppStore((store) => store.currentUser);
19
const location = useLocation();
20
const defaultInitialValues = {
21
sessionType: 'IN_PERSON',
@@ -42,6 +43,7 @@ const RouteComponent = () => {
42
43
</PageHeader>
44
<StartSessionForm
45
currentGroup={currentGroup}
46
+ currentUse={currentUser}
47
initialValues={initialValues}
48
readOnly={currentSession !== null || createSessionMutation.isPending}
49
onSubmit={async (formData) => {
0 commit comments