Skip to content

Commit

Permalink
fix bold and italic types
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectronicBlueberry committed Aug 30, 2023
1 parent 2775d8a commit 95021d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/components/Workflow/Editor/Tools/useToolLogic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ export function useToolLogic(toolbarStore: WorkflowEditorToolbarStore, annotatio
data: {
size: annotationOptions.textSize,
text: "Enter Text",
bold: annotationOptions.bold,
italic: annotationOptions.italic,
bold: annotationOptions.bold || undefined,
italic: annotationOptions.italic || undefined,
} as BaseWorkflowAnnotation["data"],
}),
markdownAnnotation: () => ({
Expand Down

0 comments on commit 95021d9

Please sign in to comment.