.env.example

This commit is contained in:
0xturboblitz
2024-06-18 13:28:31 -07:00
parent a8beb11a40
commit a2dfc8e2ad
2 changed files with 4 additions and 7 deletions

View File

@@ -1,6 +1 @@
# replace with your values
DEFAULT_PNUMBER=13HF12435
DEFAULT_DOB=060222
DEFAULT_DOE=240312
DEFAULT_ADDRESS=0xf4a...a2f
LOCAL_IP=http://192.168.1.1:3000
AMPLITUDE_KEY=amplitude_api_key

View File

@@ -21,7 +21,9 @@ function App(): JSX.Element {
}, [toast, setToast]);
useEffect(() => {
amplitude.init(AMPLITUDE_KEY);
if (AMPLITUDE_KEY) {
amplitude.init(AMPLITUDE_KEY);
}
initUserStore();
}, []);