Open VoitV opened 2 days ago
I think we also need to divide the childrenArr by role. Like this: const childrenArr = userRole === 'student' ? logic1 : logic2