mirror of
https://github.com/hanzo-io/team.git
synced 2026-11-02 17:26:48 +00:00
20 lines
644 B
TypeScript
20 lines
644 B
TypeScript
import { ScrollView } from 'react-native';
|
|
import { useColorScheme } from '@hooks/useColorScheme';
|
|
import AllDMsList from '@components/features/channels/DMList/AllDMsList';
|
|
import CommonErrorBoundary from '@components/common/CommonErrorBoundary';
|
|
|
|
export default function DirectMessages() {
|
|
const { colors } = useColorScheme()
|
|
|
|
return (
|
|
<ScrollView contentContainerStyle={{ paddingBottom: 5 }}
|
|
showsVerticalScrollIndicator={false}
|
|
style={{ flex: 1, backgroundColor: colors.background }}
|
|
>
|
|
<AllDMsList />
|
|
</ScrollView>
|
|
)
|
|
}
|
|
|
|
export const ErrorBoundary = CommonErrorBoundary
|