Skip to content

Commit

Permalink
fix: 오전 3시48분 빨간줄 주석처리 후 바로 develop 푸쉬
Browse files Browse the repository at this point in the history
  • Loading branch information
ExceptAnyone committed May 18, 2024
1 parent 91a5c35 commit be9af41
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
1 change: 0 additions & 1 deletion src/pages/example.ts

This file was deleted.

28 changes: 14 additions & 14 deletions src/pages/login/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,20 @@ const LoginPage = () => {
}
};

const handleDuplicatedInstaId = () => {
// try {
// /**@todo 정안 api 바꾸기 */
// const response = await axios.get(`/your-api-endpoint?instaId=${instaValue}`);
// if (response.data === true) {
// onNext();
// } else {
// /**@todo 정안 api 바꾸기 */
// navigate('/some-other-page');
// }
// } catch (error) {
// console.error('Error checking Instagram ID:', error);
// }
};
// const handleDuplicatedInstaId = () => {
// try {
// /**@todo 정안 api 바꾸기 */
// const response = await axios.get(`/your-api-endpoint?instaId=${instaValue}`);
// if (response.data === true) {
// onNext();
// } else {
// /**@todo 정안 api 바꾸기 */
// navigate('/some-other-page');
// }
// } catch (error) {
// console.error('Error checking Instagram ID:', error);
// }
// };

return (
<Funnel>
Expand Down
6 changes: 3 additions & 3 deletions src/pages/login/components/InstaInput.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Button, Input } from '@components';
import styled from '@emotion/styled';
import axios from 'axios';
import { useNavigate } from 'react-router-dom';
// import axios from 'axios';
// import { useNavigate } from 'react-router-dom';

interface InstaInputProps {
onNext: VoidFunction;
Expand All @@ -11,7 +11,7 @@ interface InstaInputProps {

const InstaInput = (props: InstaInputProps) => {
const { onNext, instaValue, onChange } = props;
const navigate = useNavigate();
// const navigate = useNavigate();

// const checkInstagramId = async () => {
// try {
Expand Down

0 comments on commit be9af41

Please sign in to comment.