diff --git a/app/client/src/ce/pages/Editor/IDE/EditorPane/Query/hooks.tsx b/app/client/src/ce/pages/Editor/IDE/EditorPane/Query/hooks.tsx index 9d58eceb7a99..c85ffd69def4 100644 --- a/app/client/src/ce/pages/Editor/IDE/EditorPane/Query/hooks.tsx +++ b/app/client/src/ce/pages/Editor/IDE/EditorPane/Query/hooks.tsx @@ -160,6 +160,16 @@ export const useQueryEditorRoutes = (path: string): UseRoutes => { const newComponents = useMemo( () => [ + { + key: "AddQuery", + exact: true, + component: () => ( + + + + ), + path: [`${path}${ADD_PATH}`, `${path}/:baseQueryId${ADD_PATH}`], + }, { key: "PluginActionEditor", component: () => { @@ -180,16 +190,6 @@ export const useQueryEditorRoutes = (path: string): UseRoutes => { ], exact: true, }, - { - key: "AddQuery", - exact: true, - component: () => ( - - - - ), - path: [`${path}${ADD_PATH}`, `${path}/:baseQueryId${ADD_PATH}`], - }, { key: "QueryEmpty", component: () => (