Skip to content

Commit

Permalink
Fix tsc errors
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapawar1 committed Sep 29, 2023
1 parent 3114e12 commit fd6cfff
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/components/Account.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,15 +157,7 @@ export default function Account({ session }: { session: Session }) {
<View style={[styles.verticallySpaced, styles.mt20]}>
<Button
title={loading ? 'Loading ...' : 'Update'}
onPress={() =>
updateProfile({
firstName,
lastName,
gender,
raceEthnicity,
birthday,
})
}
onPress={() => updateProfile()}
disabled={loading}
/>
</View>
Expand Down

0 comments on commit fd6cfff

Please sign in to comment.