Skip to content

Commit

Permalink
Enable content creation for teacher
Browse files Browse the repository at this point in the history
  • Loading branch information
ousamazemzami committed Nov 5, 2024
1 parent 96ef588 commit 72bc7b8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/fsevents-patch-6b67494872-10.zip
Binary file not shown.
Binary file removed .yarn/cache/fsevents-patch-afc6995412-10.zip
Binary file not shown.
9 changes: 9 additions & 0 deletions src/components/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,15 @@ export const Navigation = (): JSX.Element => {
phase: 3,
disabled: firstStoryCreated === false || isParent,
},
...(isTeacher
? [
{
...FREE_CONTENT,
phase: 3,
disabled: false,
},
]
: []),
],
[firstStoryCreated, mascotteActivity, village, isTeacher, isParent],
);
Expand Down

0 comments on commit 72bc7b8

Please sign in to comment.