add commitRef for netlify to all views

This commit is contained in:
plebeius.eth
2023-09-10 14:12:25 +02:00
parent 935e652211
commit d9f62a346e
13 changed files with 25 additions and 14 deletions
+1 -2
View File
@@ -10,8 +10,7 @@ import useGeneralStore from '../../hooks/stores/useGeneralStore';
import packageJson from '../../../package.json';
import { Tooltip } from 'react-tooltip';
const {version} = packageJson;
// show commit ref on netlify to know which commit is being served for debugging
const commitRef = process?.env?.REACT_APP_COMMIT_REF ? ` ${process.env.REACT_APP_COMMIT_REF.slice(0, 7)}` : ''
const commitRef = process?.env?.REACT_APP_COMMIT_REF ? ` ${process.env.REACT_APP_COMMIT_REF.slice(0, 7)}` : '';
const Home = () => {