diff --git a/app/client/src/pages/Editor/DataSourceEditor/NewActionButton.tsx b/app/client/src/pages/Editor/DataSourceEditor/NewActionButton.tsx index 90089c1f940..3742e542ae0 100644 --- a/app/client/src/pages/Editor/DataSourceEditor/NewActionButton.tsx +++ b/app/client/src/pages/Editor/DataSourceEditor/NewActionButton.tsx @@ -99,7 +99,7 @@ function NewActionButton(props: NewActionButtonProps) { } setIsPageSelectionOpen(true); }, - [pages, createQueryAction], + [pages, createQueryAction, disabled, isLoading], ); return (