fix: destructive query warning on run button (#33801)

This commit is contained in:
Alaister Young authored and GitHub committed 2025-02-24 09:28:20 -03:30
1 parent 68adacbd89
commit bd56cc67bc
1 file changed
+5 -1
@@ -19,9 +19,13 @@ export const SqlRunButton = ({
}: SqlRunButtonProps) => {
const os = detectOS()
function handleOnClick() {
onClick()
}
return (
<Button
onClick={onClick}
onClick={handleOnClick}
disabled={isDisabled}
type="primary"
size="tiny"