parent
a44e6455c0
commit
141ab3d0ed
|
@ -217,11 +217,10 @@ const SimplifiedEditor = (props: Props) => {
|
|||
|
||||
onMount(() => {
|
||||
window.addEventListener('keydown', handleKeyDown)
|
||||
})
|
||||
|
||||
onCleanup(() => {
|
||||
window.removeEventListener('keydown', handleKeyDown)
|
||||
editor().destroy()
|
||||
onCleanup(() => {
|
||||
window.removeEventListener('keydown', handleKeyDown)
|
||||
editor()?.destroy()
|
||||
})
|
||||
})
|
||||
|
||||
if (props.onChange) {
|
||||
|
|
|
@ -114,10 +114,9 @@ export const TextBubbleMenu = (props: BubbleMenuProps) => {
|
|||
|
||||
onMount(() => {
|
||||
window.addEventListener('keydown', handleKeyDown)
|
||||
})
|
||||
|
||||
onCleanup(() => {
|
||||
window.removeEventListener('keydown', handleKeyDown)
|
||||
onCleanup(() => {
|
||||
window.removeEventListener('keydown', handleKeyDown)
|
||||
})
|
||||
})
|
||||
|
||||
return (
|
||||
|
|
|
@ -187,7 +187,6 @@ export const ProfileSettingsPage = () => {
|
|||
label={t('About myself')}
|
||||
initialContent={form.about}
|
||||
onChange={(value) => updateFormField('about', value)}
|
||||
maxLength={500}
|
||||
/>
|
||||
{/*Нет реализации полей на бэке*/}
|
||||
{/*<h4>{t('How can I help/skills')}</h4>*/}
|
||||
|
|
Loading…
Reference in New Issue
Block a user