Skip to content

Commit

Permalink
fix: apply changed util func name, fix export default to named export
Browse files Browse the repository at this point in the history
  • Loading branch information
crew852 committed Aug 30, 2024
1 parent ed6b270 commit dd22322
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/components/KakaoLoginButton/KakaoLoginButton.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useMemo } from 'react';
import getUUID from '@/utils/getUUID';
import { getUUID } from '@/utils/random';

const clientId = 'f5aa2f20e42d783654b8e8c01bfc6312';
//redirectUri는 등록된 redirectUri중에 임의로 사용했습니다.
Expand Down
4 changes: 1 addition & 3 deletions app/utils/random.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { v4 as uuidv4 } from 'uuid';

//이용자의 uuid를 받아옵니다.
const getUUID = () => uuidv4();

export default getUUID;
export const getUUID = () => uuidv4();

0 comments on commit dd22322

Please sign in to comment.