🐛 (buttons) Fix dynamic buttons edge not showing

This commit is contained in:
Baptiste Arnaud
2023-02-23 19:22:32 +01:00
parent 0619c60970
commit e1b7320f6f
4 changed files with 13 additions and 16 deletions

View File

@@ -46,7 +46,7 @@ export const VariablesButton = ({ onSelectVariable, ...props }: Props) => {
<VariableSearchInput
onSelectVariable={(variable) => {
onClose()
onSelectVariable(variable)
if (variable) onSelectVariable(variable)
}}
placeholder="Search for a variable"
shadow="lg"