Skip to content

Commit 7398747

Browse files
committed
빌드에러 수정, _mode변수명 변경
1 parent 47433a7 commit 7398747

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

src/components/TermsAndPrivacy.tsx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
const TermsAndPrivacy = () => {
2+
const togglePopup = (_mode: "terms" | "privacy") => {
3+
// 이용약관 및 개인정보처리방침 메시지 팝업
4+
};
5+
6+
return (
7+
<div className="flex items-center w-screen text-gray-900 text-sm lex">
8+
<button
9+
onClick={() => togglePopup("terms")}
10+
className="flex justify-center border-r w-full hover:font-bold"
11+
>
12+
이용약관
13+
</button>
14+
<button
15+
onClick={() => togglePopup("privacy")}
16+
className="w-full hover:font-bold"
17+
>
18+
개인정보처리방침
19+
</button>
20+
</div>
21+
);
22+
};
23+
24+
export default TermsAndPrivacy;

0 commit comments

Comments
 (0)