mirror of
https://github.com/selfxyz/self.git
synced 2026-04-27 03:01:15 -04:00
.env.example
This commit is contained in:
@@ -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
|
||||
@@ -21,7 +21,9 @@ function App(): JSX.Element {
|
||||
}, [toast, setToast]);
|
||||
|
||||
useEffect(() => {
|
||||
amplitude.init(AMPLITUDE_KEY);
|
||||
if (AMPLITUDE_KEY) {
|
||||
amplitude.init(AMPLITUDE_KEY);
|
||||
}
|
||||
initUserStore();
|
||||
}, []);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user