remove default hookon

This commit is contained in:
Denis Angell
2023-06-15 07:01:15 +00:00
parent 1b8debda87
commit ac3137088b

View File

@@ -65,11 +65,5 @@ export const getInvokeOptions = (content?: string) => {
label: opt, label: opt,
value: opt value: opt
})) }))
// default
if (!invokeOptions.length) {
return []
}
return invokeOptions return invokeOptions
} }