Skip to content

Commit

Permalink
Update useEditorOptions.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
santushnath committed Jul 4, 2024
1 parent 05be0da commit af65e2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hooks/useEditorOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ const useEditorOptions = (props: MailUiEditorProps, editorId: string) => {
return useMemo(() => {
const options: MailUiEditorProps['options'] = {
...(props.options || {}),
signature: props.options?.signature,
apiKey: props.options?.apiKey,
apiSecret: props.options?.apiSecret,
appearance: props.options?.appearance,
displayMode: props.options?.displayMode || 'email',
locale: props.options?.locale,
Expand Down

0 comments on commit af65e2c

Please sign in to comment.