PromucFlow_constructor/app/client/src/selectors/gitSyncSelectors.tsx
Rishabh Rathod a6c2a63ce9
feat: Git connection (#7269)
Add git connection UI

Co-authored-by: Rishabh Saxena <rishabh.robben@gmail.com>
2021-09-13 18:56:24 +05:30

12 lines
330 B
TypeScript

import { AppState } from "reducers";
export const getIsGitSyncModalOpen = (state: AppState) =>
state.ui.gitSync.isGitSyncModalOpen;
export const getIsGitRepoSetup = () => false;
export const getCurrentGitBranch = () => "master";
export const getIsCommittingInProgress = (state: AppState) =>
state.ui.gitSync.isCommitting;