diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx index e0d1fc2..226ddcf 100644 --- a/src/components/Footer.jsx +++ b/src/components/Footer.jsx @@ -1,6 +1,6 @@ import React from "react"; import { Box, Typography, Container, Link, Grid } from "@mui/material"; -import { VERSION } from "../version"; +import { IS_RELEASE, VERSION } from "../version"; function Footer() { return ( @@ -19,7 +19,7 @@ function Footer() { JMESPath Testing Tool{" "} - {VERSION === "unknown" ? VERSION : `v${VERSION}`} - Created for + {IS_RELEASE ? VERSION : `${VERSION}-dev`} - Created for testing and validating JMESPath expressions @@ -55,4 +55,4 @@ function Footer() { ); } -export default Footer; \ No newline at end of file +export default Footer; diff --git a/src/components/MainPage.jsx b/src/components/MainPage.jsx index 4c20dd1..2a1daa7 100644 --- a/src/components/MainPage.jsx +++ b/src/components/MainPage.jsx @@ -214,7 +214,6 @@ function MainPage({