Bluesky app fork with some witchin' additions 💫

restore flatten to a place that is needed (#9334)

authored by samuel.fm and committed by

GitHub 531ff6c4 2077699a

+4 -3
+4 -3
src/components/Dialog/index.web.tsx
··· 16 16 import {logger} from '#/logger' 17 17 import {useA11y} from '#/state/a11y' 18 18 import {useDialogStateControlContext} from '#/state/dialogs' 19 - import {atoms as a, useBreakpoints, useTheme, web} from '#/alf' 19 + import {atoms as a, flatten, useBreakpoints, useTheme, web} from '#/alf' 20 20 import {Button, ButtonIcon} from '#/components/Button' 21 21 import {Context} from '#/components/Dialog/context' 22 22 import { ··· 180 180 onClick={stopPropagation} 181 181 onStartShouldSetResponder={_ => true} 182 182 onTouchEnd={stopPropagation} 183 - style={[ 183 + // note: flatten is required for some reason -sfn 184 + style={flatten([ 184 185 a.relative, 185 186 a.rounded_md, 186 187 a.w_full, ··· 195 196 }, 196 197 !reduceMotionEnabled && a.zoom_fade_in, 197 198 style, 198 - ]}> 199 + ])}> 199 200 <DismissableLayer.DismissableLayer 200 201 onInteractOutside={preventDefault} 201 202 onFocusOutside={preventDefault}