File tree Expand file tree Collapse file tree
packages/component/src/providers/TranscriptFocus Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,14 +24,14 @@ function uniqueId(count = Infinity) {
2424}
2525
2626const TranscriptFocusComposer = ( { children, containerRef } : TranscriptFocusComposerProps ) => {
27- const getGroupKeyByActivityKey = useGetLogicalGroupKey ( ) ;
28- const getGroupBoundaries = useGetLogicalGroupBoundaries ( ) ;
29- const getGroupState = useGetGroupState ( ) ;
30- const [ renderingActivityKeys ] = useRenderingActivityKeys ( ) ;
3127 const [ rawFocusedActivityGroupKey , setRawFocusedActivityGroupKey , rawFocusedActivityGroupKeyRef ] = useStateRef <
3228 string | undefined
3329 > ( ) ;
30+ const [ renderingActivityKeys ] = useRenderingActivityKeys ( ) ;
3431 const [ , setRawFocusedActivityKey , rawFocusedActivityKeyRef ] = useStateRef < string | undefined > ( ) ;
32+ const getGroupBoundaries = useGetLogicalGroupBoundaries ( ) ;
33+ const getGroupKeyByActivityKey = useGetLogicalGroupKey ( ) ;
34+ const getGroupState = useGetGroupState ( ) ;
3535
3636 // As we need to use IDREF for `aria-activedescendant`,
3737 // this prefix will differentiate multiple instances of transcript on the same page.
You can’t perform that action at this time.
0 commit comments