Skip to content

Commit

Permalink
fix: memberId가 없다면 로그인 set을 진행하지 않도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ww8007 committed Oct 13, 2023
1 parent d47e2e8 commit 3e0cab1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/RNListener.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const RNListener = () => {
}, [userInfo]);

useBridgeCallback('login', (params) => {
if (!params.memberId) return;
login(params);
});

Expand All @@ -51,8 +52,8 @@ const RNListener = () => {
const { setUrl } = useBookmarkStore();

useBridgeCallback('androidShareUrl', (params) => {
setUrl(params.url);
if (params.url === '') return;
setUrl(params.url);
router(navigatePath.BOOKMARK_ADD);
});

Expand Down

0 comments on commit 3e0cab1

Please sign in to comment.