| 1053 | ) |
| 1054 | |
| 1055 | const createGit = (input: { emptyClass: string }) => ( |
| 1056 | <div class={input.emptyClass}> |
| 1057 | <div class="flex flex-col gap-3"> |
| 1058 | <div class="text-14-medium text-text-strong">{language.t("session.review.noVcs.createGit.title")}</div> |
| 1059 | <div class="text-14-regular text-text-base max-w-md" style={{ "line-height": "var(--line-height-normal)" }}> |
| 1060 | {language.t("session.review.noVcs.createGit.description")} |
| 1061 | </div> |
| 1062 | </div> |
| 1063 | <Button size="large" disabled={gitMutation.isPending} onClick={initGit}> |
| 1064 | {gitMutation.isPending |
| 1065 | ? language.t("session.review.noVcs.createGit.actionLoading") |
| 1066 | : language.t("session.review.noVcs.createGit.action")} |
| 1067 | </Button> |
| 1068 | </div> |
| 1069 | ) |
| 1070 | |
| 1071 | const reviewEmptyText = createMemo(() => { |
| 1072 | if (store.changes === "git") return language.t("session.review.noUncommittedChanges") |