Skip to content

Commit

Permalink
feat: 찐막 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
pepperdad committed May 19, 2024
1 parent b5e43f5 commit 446f309
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/My/My.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ const My = () => {

const renderComponent = () => {
switch (streak % 10) {
case 0:
return <Main1 />;
case 1:
return <Main1 />;
case 2:
Expand Down
2 changes: 2 additions & 0 deletions src/pages/home/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ const Login = () => {
const [username, setUsername] = useState('');

const handleLogin = async () => {
if (!username) return;

const result = await loginApi(username);
const memberId = result?.data?.userId;

Expand Down

0 comments on commit 446f309

Please sign in to comment.