Skip to content

Commit f1525cd

Browse files
committed
Fix src/pages/NewChatSelectorPage.tsx
1 parent de2b86b commit f1525cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/NewChatSelectorPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function NewChatSelectorPage() {
3232

3333
// Theoretically, the focus trap container element can be null (due to component unmount/remount), so we filter out the null elements
3434
const containerElements = useMemo(() => {
35-
return [headerWithBackBtnContainerElement, tabBarContainerElement, activeTabContainerElement].filter((element) => !!element) as HTMLElement[];
35+
return [headerWithBackBtnContainerElement, tabBarContainerElement, activeTabContainerElement].filter((element) => !!element);
3636
}, [headerWithBackBtnContainerElement, tabBarContainerElement, activeTabContainerElement]);
3737

3838
const onTabFocusTrapContainerElementChanged = useCallback((activeTabElement?: HTMLElement | null) => {

0 commit comments

Comments
 (0)