Skip to content

Commit

Permalink
[#137] Feat: 닉네임 설정 페이지 진입시 토스트 알림 추가 (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kim-Jaemin420 authored Feb 9, 2024
1 parent 2ff1056 commit 42b65eb
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta
property="og:description"
content="자신만의 특별한 떡국을 만들고 응원 메시지를 전달하세요"
content="나만의 떡국을 만들고, 다른 사람들과 재료를 나눠보세요."
/>
<link rel="icon" href="/assets/favicon.ico" type="image/x-icon" />
<link
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
"*.{css,json,html}": "prettier --check"
},
"dependencies": {
"@sentry/react": "^7.100.1",
"@sentry/tracing": "^7.100.1",
"@toss/use-overlay": "^1.3.8",
"classnames": "^2.5.1",
"jotai": "^2.6.2",
Expand Down
104 changes: 104 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion src/pages/NicknamePage.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { Fragment } from "react";
import { Fragment, useEffect } from "react";

import { useOverlay } from "@toss/use-overlay";
import { useAtomValue } from "jotai";
import { toast } from "sonner";

import { NicknameFormValues } from "@/types/form";

Expand Down Expand Up @@ -41,6 +42,10 @@ const NicknamePage = () => {
);
};

useEffect(() => {
toast("카카오 로그인이 정상적으로 완료되었습니다");
}, []);

return (
<Fragment>
<Header showBackButton>닉네임 설정하기</Header>
Expand Down

0 comments on commit 42b65eb

Please sign in to comment.