Page MenuHomePhabricator

D7831.diff
No OneTemporary

D7831.diff

diff --git a/native/account/registration/registration-content-container.react.js b/native/account/registration/registration-content-container.react.js
--- a/native/account/registration/registration-content-container.react.js
+++ b/native/account/registration/registration-content-container.react.js
@@ -5,7 +5,6 @@
import { ScrollView } from 'react-native';
import KeyboardAvoidingView from '../../components/keyboard-avoiding-view.react.js';
-import { useStyles } from '../../themes/colors.js';
type ViewProps = React.ElementConfig<typeof ScrollView>;
type Props = {
@@ -23,10 +22,9 @@
[headerHeight],
);
- const styles = useStyles(unboundStyles);
const contentContainerStyle = React.useMemo(
() => [styles.scrollViewContentContainer, style],
- [styles.scrollViewContentContainer, style],
+ [style],
);
return (
@@ -43,7 +41,7 @@
);
}
-const unboundStyles = {
+const styles = {
fill: {
flex: 1,
},

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 26, 7:47 PM (11 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2708315
Default Alt Text
D7831.diff (958 B)

Event Timeline