Skip to content

Commit 5a0c095

Browse files
committed
Sort
1 parent 404a23d commit 5a0c095

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

packages/component/src/providers/TranscriptFocus/TranscriptFocusComposer.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ function uniqueId(count = Infinity) {
2424
}
2525

2626
const 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.

0 commit comments

Comments
 (0)