- v0.1.0
+ v{version}
Settings
diff --git a/src/components/views/Board.jsx b/src/components/views/Board.jsx
index 85e5f861..3b15d658 100644
--- a/src/components/views/Board.jsx
+++ b/src/components/views/Board.jsx
@@ -22,6 +22,8 @@ import handleStyleChange from '../../utils/handleStyleChange';
import renderComments from '../../utils/renderComments';
import useClickForm from '../../hooks/useClickForm';
import useError from '../../hooks/useError';
+import packageJson from '../../../package.json'
+const {version} = packageJson
const Board = () => {
@@ -987,7 +989,7 @@ const Board = () => {
>
- plebchan v0.1.0. GPL-2.0
+ plebchan v{version}. GPL-2.0
{
@@ -471,7 +473,7 @@ const Catalog = () => {
>
- plebchan v0.1.0. GPL-2.0
+ plebchan v{version}. GPL-2.0
{
@@ -134,7 +136,7 @@ const Home = () => {
fontSize: "11px",
marginBottom: "2em",
}}>
- plebchan v0.1.0. GPL-2.0
+ plebchan v{version}. GPL-2.0
>
diff --git a/src/components/views/NotFound.jsx b/src/components/views/NotFound.jsx
index 9521de68..496a7852 100644
--- a/src/components/views/NotFound.jsx
+++ b/src/components/views/NotFound.jsx
@@ -3,6 +3,8 @@ import { Helmet } from 'react-helmet-async';
import useGeneralStore from '../../hooks/stores/useGeneralStore';
import { Link } from "react-router-dom";
import { Container, Header, Logo, Page, Boards, BoardsTitle } from '../styled/Home.styled';
+import packageJson from '../../../package.json'
+const {version} = packageJson
const NotFound = ({ setBodyStyle }) => {
@@ -48,7 +50,7 @@ const NotFound = ({ setBodyStyle }) => {
fontSize: "11px",
marginTop: "2em",
}}>
- plebchan v0.1.0. GPL-2.0
+ plebchan v{version}. GPL-2.0
>
diff --git a/src/components/views/Pending.jsx b/src/components/views/Pending.jsx
index 19023a94..10139c0f 100644
--- a/src/components/views/Pending.jsx
+++ b/src/components/views/Pending.jsx
@@ -16,6 +16,8 @@ import getDate from '../../utils/getDate';
import handleQuoteClick from '../../utils/handleQuoteClick';
import handleStyleChange from '../../utils/handleStyleChange';
import useError from '../../hooks/useError';
+import packageJson from '../../../package.json'
+const {version} = packageJson
const Pending = () => {
@@ -381,7 +383,7 @@ const Pending = () => {
marginTop: "2em",
marginBottom: "2em",
}}>
- plebchan v0.1.0. GPL-2.0
+ plebchan v{version}. GPL-2.0
>
diff --git a/src/components/views/Thread.jsx b/src/components/views/Thread.jsx
index 86391a93..cd29d08c 100644
--- a/src/components/views/Thread.jsx
+++ b/src/components/views/Thread.jsx
@@ -22,6 +22,8 @@ import handleStyleChange from '../../utils/handleStyleChange';
import renderThreadComments from '../../utils/renderThreadComments';
import useClickForm from '../../hooks/useClickForm';
import useError from '../../hooks/useError';
+import packageJson from '../../../package.json'
+const {version} = packageJson
const Thread = () => {
@@ -1032,7 +1034,7 @@ const Thread = () => {
>
- plebchan v0.1.0. GPL-2.0
+ plebchan v{version}. GPL-2.0