prettier -w

This commit is contained in:
Samuel Newman
2026-08-25 01:37:14 +01:00
parent 67be5b5ccf
commit 2f2dfcfde5
3 changed files with 3 additions and 7 deletions
+1 -2
View File
@@ -17,8 +17,7 @@ export type PressableProps = Omit<
'children' | 'style' 'children' | 'style'
> & { > & {
children?: children?:
| React.ReactNode React.ReactNode | ((state: PressableStateCallbackType) => React.ReactNode)
| ((state: PressableStateCallbackType) => React.ReactNode)
style?: style?:
| StyleProp<ViewStyle> | StyleProp<ViewStyle>
| ((state: PressableStateCallbackType) => StyleProp<ViewStyle>) | ((state: PressableStateCallbackType) => StyleProp<ViewStyle>)
@@ -211,9 +211,7 @@ export function MessageComposer({
nextFocusRef={() => nextFocusRef={() =>
composerInternalApiRef.current?.input composerInternalApiRef.current?.input
?.element as unknown as ?.element as unknown as
| {focus: () => void} {focus: () => void} | null | undefined
| null
| undefined
}> }>
<EmojiPicker.Trigger label={l`Open emoji picker`}> <EmojiPicker.Trigger label={l`Open emoji picker`}>
{({props, state, control}) => ( {({props, state, control}) => (
+1 -2
View File
@@ -48,8 +48,7 @@ export function TabBar({
// Scrolling under tap feels disorienting so only adjust the scroll offset // Scrolling under tap feels disorienting so only adjust the scroll offset
// when tapping on an item out of view--and we adjust by almost an entire page. // when tapping on an item out of view--and we adjust by almost an entire page.
const parent = scrollElRef.current?.getScrollableNode?.() as unknown as const parent = scrollElRef.current?.getScrollableNode?.() as unknown as
| HTMLElement HTMLElement | undefined
| undefined
if (!parent) { if (!parent) {
return return
} }