🐛 Fix wrong value used for app version fallback

This commit is contained in:
Luke Vella 2023-03-28 13:09:50 +01:00 committed by GitHub
parent 3d9dd00736
commit e24ceee25c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ const Feedback = dynamic(() => import("../feedback"), { ssr: false });
const appVersion = process.env.NEXT_PUBLIC_APP_VERSION const appVersion = process.env.NEXT_PUBLIC_APP_VERSION
? `v${process.env.NEXT_PUBLIC_APP_VERSION}` ? `v${process.env.NEXT_PUBLIC_APP_VERSION}`
: "v2.8.0"; : null;
const AppVersion = () => { const AppVersion = () => {
if (!appVersion) return null; if (!appVersion) return null;