Add version to console, rageshake, and settings modal

This commit is contained in:
Robert Long
2022-02-16 11:29:43 -08:00
parent 0f3a7f9fd9
commit 9fc4af2bd7
5 changed files with 16 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ import { useMediaHandler } from "./useMediaHandler";
import { FieldRow, InputField } from "../input/Input";
import { Button } from "../button";
import { useDownloadDebugLog } from "./rageshake";
import { Body } from "../typography/Typography";
export function SettingsModal({
client,
@@ -82,6 +83,11 @@ export function SettingsModal({
</>
}
>
<FieldRow>
<Body className={styles.fieldRowText}>
Version: {import.meta.env.VITE_APP_VERSION || "dev"}
</Body>
</FieldRow>
<FieldRow>
<InputField
id="showInspector"