use env for app name

This commit is contained in:
David Lechner
2021-02-01 13:02:06 -06:00
parent 42869a7938
commit a8b3f5dcf7
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
export const tooltipDelay = 1000;
/** Official name of the app. */
export const appName = 'Pybricks Code';
export const appName = process.env.REACT_APP_NAME || 'REACT_APP_NAME is undefined';
/** URL to main Pybricks website. */
export const pybricksWebsiteUrl = 'https://pybricks.com';