feat: tempcommit
This commit is contained in:
parent
bf59a51041
commit
065cd8777c
1 changed files with 6 additions and 2 deletions
|
@ -48,7 +48,7 @@ export default function AccountTab() {
|
||||||
const deleteUser = useDeleteApiUserMe();
|
const deleteUser = useDeleteApiUserMe();
|
||||||
const updateAccount = usePatchApiUserMe();
|
const updateAccount = usePatchApiUserMe();
|
||||||
|
|
||||||
const { handleSubmit, formState, register, setError } = useZodForm(
|
const { handleSubmit, formState, register } = useZodForm(
|
||||||
updateUserClientSchema,
|
updateUserClientSchema,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -205,7 +205,11 @@ export default function AccountTab() {
|
||||||
icon={CalendarClock}
|
icon={CalendarClock}
|
||||||
defaultValue={data?.data.user.timezone ?? ''}
|
defaultValue={data?.data.user.timezone ?? ''}
|
||||||
{...register('timezone')}
|
{...register('timezone')}
|
||||||
error={formState.errors.timezone?.message}
|
error={
|
||||||
|
formState.errors.timezone?.message
|
||||||
|
? 'Invalid Timezone'
|
||||||
|
: undefined
|
||||||
|
}
|
||||||
></LabeledInput>
|
></LabeledInput>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue