Fix some type errors (#1952)

* Fix some low-hanging type errors

* Override scrollRef types on profile
This commit is contained in:
Eric Bailey 2023-11-17 11:08:45 -06:00 committed by GitHub
parent 6c8f043e37
commit 9c8a1b8a31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 40 additions and 15 deletions

View file

@ -99,7 +99,12 @@ export function Component({
{description}
</Text>
<View style={s.flex1} />
<Button type="primary" style={styles.btn} onPress={() => closeModal()}>
<Button
type="primary"
style={styles.btn}
onPress={() => {
closeModal()
}}>
<Text type="button-lg" style={[pal.textLight, s.textCenter, s.white]}>
Okay
</Text>