diff --git a/frontend/src/AppBuilder/AppCanvas/ConfigHandle/ConfigHandle.jsx b/frontend/src/AppBuilder/AppCanvas/ConfigHandle/ConfigHandle.jsx index 05306724fa..f25d815159 100644 --- a/frontend/src/AppBuilder/AppCanvas/ConfigHandle/ConfigHandle.jsx +++ b/frontend/src/AppBuilder/AppCanvas/ConfigHandle/ConfigHandle.jsx @@ -53,7 +53,7 @@ export const ConfigHandle = ({ ); }, shallow); - const currentPageIndex = useStore((state) => state.currentPageIndex); + const currentPageIndex = useStore((state) => state.modules.canvas.currentPageIndex); const component = useStore((state) => state.modules.canvas.pages[currentPageIndex].components[id]); const featureAccess = useStore((state) => state?.license?.featureAccess, shallow); const licenseValid = !featureAccess?.licenseStatus?.isExpired && featureAccess?.licenseStatus?.isLicenseValid;