Skip to content

Commit

Permalink
Merge pull request #69 from Beside-Potenday/seungbeom
Browse files Browse the repository at this point in the history
코드 덮어쓰기
  • Loading branch information
seung365 authored Aug 7, 2024
2 parents 20dcfd8 + 0d465c6 commit 60dd8e6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/api/hooks/Mail/useGetMail.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { BASE_URL } from '@/api';

export const getMailPath = () => `${BASE_URL}/`;
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { MailPostData } from '@/types';
import axios from 'axios';
import { BASE_URL } from '..';
import { BASE_URL } from '../..';
import { useMutation } from '@tanstack/react-query';

export const postMailPath = () => `${BASE_URL}/save-email`;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Mail/MailModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {
warningTextsUniv,
} from './MailModalData';
import { useAuth } from '@/Provider/Auth';
import { usePostMail } from '@/api/hooks/usePostMail';
import { usePostMail } from '@/api/hooks/Mail/usePostMail';

interface MailModalProps {
isOpen: boolean;
Expand Down

0 comments on commit 60dd8e6

Please sign in to comment.