diff --git a/source/content-scripts/features/markdown-toolbar.tsx b/source/content-scripts/features/markdown-toolbar.tsx index e2d82d3..8ff4157 100644 --- a/source/content-scripts/features/markdown-toolbar.tsx +++ b/source/content-scripts/features/markdown-toolbar.tsx @@ -125,7 +125,7 @@ function SnippetDropdown(props: Props) { ); } -function insertSnippet(props: Required) { +function insertSnippet(props: Omit, "allSnippets">) { const {textarea, snippet} = props; const {selectionStart, selectionEnd} = textarea;