Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
goeun208 committed Mar 12, 2024
1 parent 14e8dc4 commit 64b2d1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/common/button/url/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface UrlProps {

const UrlButton = ({ pathname, teamname }: UrlProps) => {
const baseURL = 'https://www.moidot.co.kr'; // 배포 url로 변경하기
const groupIdAtom = useRecoilValue(groupIdAtom);
const id: any = useRecoilValue(groupIdAtom);
useEffect(() => {
console.log(pathname.split('/').slice(-1)[0]);
console.log('yayayay', pathname);
Expand Down Expand Up @@ -49,7 +49,7 @@ const UrlButton = ({ pathname, teamname }: UrlProps) => {
<div className="flex w-[90vw] desktop:w-[440px] justify-between items-center text-b3 text-font_black mx-auto">
<div
className="flex items-center cursor-pointer text-b2"
onClick={() => handleCopyClipBoard(`${baseURL}/invite/${groupIdAtom.groupId}`)}>
onClick={() => handleCopyClipBoard(`${baseURL}/invite/${id.groupId}`)}>
URL 복사하기
<Copy className="ml-2" />
</div>
Expand Down

0 comments on commit 64b2d1a

Please sign in to comment.