about summary refs log tree commit diff
path: root/src/components/Divider.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Divider.tsx')
-rw-r--r--src/components/Divider.tsx11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/components/Divider.tsx b/src/components/Divider.tsx
index e4891aacb..ec7a7356a 100644
--- a/src/components/Divider.tsx
+++ b/src/components/Divider.tsx
@@ -1,18 +1,11 @@
 import {View} from 'react-native'
 
-import {atoms as a, flatten, useTheme, ViewStyleProp} from '#/alf'
+import {atoms as a, useTheme, type ViewStyleProp} from '#/alf'
 
 export function Divider({style}: ViewStyleProp) {
   const t = useTheme()
 
   return (
-    <View
-      style={[
-        a.w_full,
-        a.border_t,
-        t.atoms.border_contrast_low,
-        flatten(style),
-      ]}
-    />
+    <View style={[a.w_full, a.border_t, t.atoms.border_contrast_low, style]} />
   )
 }