diff --git a/app/components/DocumentExplorer.tsx b/app/components/DocumentExplorer.tsx index c2df49ad4f..4c17fdf29b 100644 --- a/app/components/DocumentExplorer.tsx +++ b/app/components/DocumentExplorer.tsx @@ -311,47 +311,43 @@ function DocumentExplorer({ onSubmit, onSelect, items }: Props) { )); return ( - + - - {nodes.length ? ( - - {({ width, height }: { width: number; height: number }) => ( - - results[index].id} - > - {ListItem} - - - )} - - ) : ( - - {t("No results found")}. - - )} - - + {nodes.length ? ( + + {({ width, height }: { width: number; height: number }) => ( + + results[index].id} + > + {ListItem} + + + )} + + ) : ( + + {t("No results found")}. + + )} + ); } -const Container = styled.div``; - const FlexContainer = styled(Flex)` height: 100%; align-items: center;