Skip to content

Commit 97cc5f2

Browse files
committed
test: version name
1 parent be9b792 commit 97cc5f2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

โ€Žsrc/common/utils/AmplitudeProvider.tsxโ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import { useEffectOnce } from '@/common/hooks/useEffectOnce';
22
import { initAmplitude, setInitialUserProperties } from '@/common/utils/amplitude';
33
import { useGetUser } from '@/features/my/apis/useGetUser';
4+
import { VERSION_NAME } from '@/libs/constants';
45

56
const AmplitudeProvider = () => {
67
const { data: user } = useGetUser();
78

89
useEffectOnce(() => {
10+
console.log(VERSION_NAME);
911
initAmplitude(user?.id.toString(), () => {
1012
if (user) setInitialUserProperties(user);
1113
});

โ€Žsrc/libs/constants/index.tsโ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
export const VERSION_NAME = 'v1.0.0';
2+
13
export const MAX_PRICE = 999999;
24
export const MAX_LOCATION = 100;
35
export const MAX_TITLE = 64;

0 commit comments

Comments
ย (0)