// Dependencies import { slugify, slugifyNoTrim, cloudflareImageUrl } from 'shared/utils.mjs' // Hooks import { useTranslation } from 'react-i18next' import { useEffect, useState, useCallback } from 'react' import { useBackend } from 'shared/hooks/use-backend.mjs' import { useDropzone } from 'react-dropzone' import { Popout } from 'shared/components/popout/index.mjs' import { Loading } from 'shared/components/spinner.mjs' import { DownloadIcon } from 'shared/components/icons.mjs' export const ns = ['account'] export const CaptionInput = ({ caption, setCaption }) => ( setCaption(evt.target.value)} /> ) export const IntroInput = ({ intro, setIntro }) => ( setIntro(evt.target.value)} /> ) export const BodyInput = ({ body, setBody }) => (