mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
update env
This commit is contained in:
@@ -12,7 +12,7 @@ import useSpecialThemeStore from '../../../stores/use-special-theme-store';
|
|||||||
import { isChristmas } from '../../../lib/utils/time-utils';
|
import { isChristmas } from '../../../lib/utils/time-utils';
|
||||||
import Version from '../../version';
|
import Version from '../../version';
|
||||||
|
|
||||||
const commitRef = process.env.REACT_APP_COMMIT_REF;
|
const commitRef = process.env.VITE_COMMIT_REF;
|
||||||
const isElectron = window.isElectron === true;
|
const isElectron = window.isElectron === true;
|
||||||
|
|
||||||
const CheckForUpdates = () => {
|
const CheckForUpdates = () => {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { useTranslation } from 'react-i18next';
|
|||||||
import packageJson from '../../../package.json';
|
import packageJson from '../../../package.json';
|
||||||
|
|
||||||
const { version } = packageJson;
|
const { version } = packageJson;
|
||||||
const commitRef = process.env.REACT_APP_COMMIT_REF;
|
const commitRef = process.env.VITE_COMMIT_REF;
|
||||||
const isElectron = window.isElectron === true;
|
const isElectron = window.isElectron === true;
|
||||||
|
|
||||||
const Version = () => {
|
const Version = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user