diff --git a/app/client/src/pages/Editor/gitSync/components/GitErrorPopup.tsx b/app/client/src/pages/Editor/gitSync/components/GitErrorPopup.tsx index 86fa198b10..ed47986645 100644 --- a/app/client/src/pages/Editor/gitSync/components/GitErrorPopup.tsx +++ b/app/client/src/pages/Editor/gitSync/components/GitErrorPopup.tsx @@ -18,6 +18,7 @@ import { Colors } from "constants/Colors"; import { get } from "lodash"; import ConflictInfo from "../components/ConflictInfo"; +import { getCurrentAppGitMetaData } from "selectors/applicationSelectors"; const StyledGitErrorPopup = styled.div` & { @@ -81,7 +82,9 @@ function GitErrorPopup() { }; const gitConflictDocumentUrl = useSelector(getConflictFoundDocUrlDeploy); - + const gitMetaData = useSelector(getCurrentAppGitMetaData); + const browserSupportedRemoteUrl = + gitMetaData?.browserSupportedRemoteUrl || ""; const isConflicting = true; // refactored return ( @@ -99,7 +102,7 @@ function GitErrorPopup() { {isConflicting && ( )}