mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
don't hardcode version number
This commit is contained in:
@@ -15,6 +15,8 @@ import getCommentMediaInfo from '../../utils/getCommentMediaInfo';
|
||||
import handleStyleChange from '../../utils/handleStyleChange';
|
||||
import useClickForm from '../../hooks/useClickForm';
|
||||
import useError from '../../hooks/useError';
|
||||
import packageJson from '../../../package.json'
|
||||
const {version} = packageJson
|
||||
|
||||
|
||||
const Catalog = () => {
|
||||
@@ -471,7 +473,7 @@ const Catalog = () => {
|
||||
</>
|
||||
</NavBar>
|
||||
<div id="version">
|
||||
plebchan v0.1.0. GPL-2.0
|
||||
plebchan v{version}. GPL-2.0
|
||||
</div>
|
||||
<div className="footer-links"
|
||||
style={{
|
||||
|
||||
Reference in New Issue
Block a user