mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
fix: destructive query warning on run button (#33801)
This commit is contained in:
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"
|
||||
|
||||
Reference in new issue
Block a user