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?:
| React.ReactNode
| ((state: PressableStateCallbackType) => React.ReactNode)
React.ReactNode | ((state: PressableStateCallbackType) => React.ReactNode)
style?:
| StyleProp<ViewStyle>
| ((state: PressableStateCallbackType) => StyleProp<ViewStyle>)
@@ -211,9 +211,7 @@ export function MessageComposer({
nextFocusRef={() =>
composerInternalApiRef.current?.input
?.element as unknown as
| {focus: () => void}
| null
| undefined
{focus: () => void} | null | undefined
}>
<EmojiPicker.Trigger label={l`Open emoji picker`}>
{({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
// when tapping on an item out of view--and we adjust by almost an entire page.
const parent = scrollElRef.current?.getScrollableNode?.() as unknown as
| HTMLElement
| undefined
HTMLElement | undefined
if (!parent) {
return
}