Skip to content

Commit

Permalink
more stuff on staging
Browse files Browse the repository at this point in the history
  • Loading branch information
brekk committed Dec 16, 2021
1 parent 701b7e3 commit a51ec83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/user/Tabs/SettingsContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export default function SettingsContent({ authedUser }: Props) {
})
const $country = useField({
...FIELDS.country,
useDefault: false,
defaultValue: authedUser.country_code,
})
const [$error, $setError] = useState<string>(UNSET)
Expand Down
1 change: 1 addition & 0 deletions hooks/useForm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export interface ProvidedField {
options?: NameValue[]
defaultErrorText?: string
whitespace?: WHITESPACE
useDefault?: boolean
}
export interface Field extends ProvidedField {
value: string
Expand Down

0 comments on commit a51ec83

Please sign in to comment.