fmt
This commit is contained in:
parent
b7939dead0
commit
e0ed344218
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user