Hotfix - save Introduce field

This commit is contained in:
ilya-bkv 2023-04-22 19:07:58 +03:00
parent 24c028a233
commit c173ff3135
2 changed files with 7 additions and 4 deletions

View File

@ -260,7 +260,6 @@ export const AuthorView = (props: AuthorProps) => {
<Match when={searchParams().by === 'subscribed-authors'}> <Match when={searchParams().by === 'subscribed-authors'}>
<div class="wide-container"> <div class="wide-container">
<div class="row"> <div class="row">
asdasd
<For each={followingUsers()}> <For each={followingUsers()}>
{(follower: Author) => ( {(follower: Author) => (
<div class="col-md-6 col-lg-4"> <div class="col-md-6 col-lg-4">

View File

@ -150,9 +150,13 @@ export const ProfileSettingsPage = () => {
<h4>{t('Introduce')}</h4> <h4>{t('Introduce')}</h4>
<div class="pretty-form__item"> <div class="pretty-form__item">
<textarea name="presentation" id="presentation" placeholder={t('Introduce')}> <textarea
{form.bio} name="bio"
</textarea> id="bio"
placeholder={t('Introduce')}
value={form.bio}
onChange={(event) => updateFormField('bio', event.currentTarget.value)}
/>
<label for="presentation">{t('Introduce')}</label> <label for="presentation">{t('Introduce')}</label>
</div> </div>