diff --git a/src/components/Views/PublishSettings/PublishSettings.tsx b/src/components/Views/PublishSettings/PublishSettings.tsx index 2cc1e3eb..90c6b289 100644 --- a/src/components/Views/PublishSettings/PublishSettings.tsx +++ b/src/components/Views/PublishSettings/PublishSettings.tsx @@ -56,6 +56,7 @@ export const PublishSettings = (props: Props) => { title: props.form.title, subtitle: props.form.subtitle, description: composeDescription(), + selectedTopics: [], } const { diff --git a/src/context/editor.tsx b/src/context/editor.tsx index cdb4022d..41975d52 100644 --- a/src/context/editor.tsx +++ b/src/context/editor.tsx @@ -23,7 +23,7 @@ export type ShoutForm = { shoutId: number slug: string title: string - subtitle: string + subtitle?: string lead?: string description?: string selectedTopics: Topic[]