You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* This hook is used to search for the event and the group of the event that
7
-
* was selected when the component is mounted. It returns a boolean indicating if the
8
-
* initial event should be searched for, a boolean indicating if the initial
9
-
* event was found, and the index of the group that contains the event.
6
+
* This hook is used to search for the event within event groups. It captures the first selected event when the component is mounted
7
+
* and keeps searching for the event in all event groups until it is found.
8
+
* Afterwards it return the index of the group in the filtered set of event groups that is presented on the UI and retrun undefined if filtered groups do not contain the event/group.
10
9
*/
11
10
exportdefaultfunctionuseInitialSelectedEvent({
12
11
selectedEventId,
@@ -35,7 +34,7 @@ export default function useInitialSelectedEvent({
0 commit comments