This commit is contained in:
Untone 2024-05-03 01:43:13 +03:00
parent b7939dead0
commit e0ed344218

View File

@ -188,7 +188,7 @@ export const EditView = (props: Props) => {
const hasChanges = !deepEqual(form, prevForm) const hasChanges = !deepEqual(form, prevForm)
const hasTopic = Boolean(form.mainTopic) const hasTopic = Boolean(form.mainTopic)
if (hasChanges || hasTopic) { if (hasChanges || hasTopic) {
console.debug("saving draft") console.debug('saving draft')
setSaving(true) setSaving(true)
if (props.shout?.published_at) { if (props.shout?.published_at) {
saveDraftToLocalStorage(form) saveDraftToLocalStorage(form)