diff --git a/cli/src/components/FinalConfig.tsx b/cli/src/components/FinalConfig.tsx index cbf37d06a..b89084f9b 100644 --- a/cli/src/components/FinalConfig.tsx +++ b/cli/src/components/FinalConfig.tsx @@ -29,15 +29,12 @@ const FinalConfig = (p: { - - mongo url:{" "} - - {p.config.mongoURL} - + + mongo url: {p.config.mongoURL} - + use builds:{" "} - + {p.config.useBuilds ? "yes" : "no"} diff --git a/cli/src/components/mongo/SetupMongo.tsx b/cli/src/components/mongo/SetupMongo.tsx index a61954029..a34279b46 100644 --- a/cli/src/components/mongo/SetupMongo.tsx +++ b/cli/src/components/mongo/SetupMongo.tsx @@ -2,9 +2,7 @@ import { CommandLogError } from "@monitor/types"; import { Box, Newline, Text, useInput } from "ink"; import React, { Fragment, useState } from "react"; import { startMongo } from "../../helpers/mongo"; -import { useBlinker } from "../../hooks"; import LabelledSelector from "../util/LabelledSelector"; -import Selector from "../util/Selector"; import YesNo from "../util/YesNo"; const RESTART_MODES = ["no", "on-failure", "always", "unless-stopped"]; @@ -164,7 +162,7 @@ const SetupMongo = ({ )} {stage === "volume" && volume === undefined && ( { if (use === "yes") { @@ -178,7 +176,7 @@ const SetupMongo = ({ )} {(volume || volume === false) && ( - volume:{" "} + {volume ? "mount folder: " : "mount: "} {volume || "no"} {stage === "volume" && blinker ? "|" : ""} @@ -242,7 +240,7 @@ const SetupMongo = ({ )} {stage === "finish" && result && !result.isError && ( - press{" "} + Success! Press{" "} enter {" "}