Skip to content

Commit

Permalink
[chore] fetch 관련 파일 폴더구조 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
lybell-art committed Aug 8, 2024
1 parent a851aee commit 48897e5
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/auth/AuthCode/submitAuthCode.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fetchServer, handleError } from "@/common/fetchServer.js";
import { fetchServer, handleError } from "@/common/dataFetch/fetchServer.js";
import { EVENT_ID } from "@/common/constants.js";

async function submitAuthCode(name, phoneNumber, authCode) {
Expand Down
2 changes: 1 addition & 1 deletion src/auth/UserFind/requestLogin.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fetchServer, handleError } from "@/common/fetchServer.js";
import { fetchServer, handleError } from "@/common/dataFetch/fetchServer.js";

async function requestLogin(name, phoneNumber) {
try {
Expand Down
2 changes: 1 addition & 1 deletion src/auth/requestAuthCode.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fetchServer, handleError } from "@/common/fetchServer.js";
import { fetchServer, handleError } from "@/common/dataFetch/fetchServer.js";

async function requestAuthCode(name, phoneNumber) {
try {
Expand Down
2 changes: 1 addition & 1 deletion src/comment/commentCarousel/index.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useMemo } from "react";
import Suspense from "@/common/Suspense.jsx";
import ErrorBoundary from "@/common/ErrorBoundary.jsx";
import { fetchResource } from "@/common/fetchServer.js";
import { fetchResource } from "@/common/dataFetch/fetchServer.js";
import CommentCarousel from "./CommentCarousel.jsx";
import CommentCarouselSkeleton from "./CommentCarouselSkeleton.jsx";
import CommentCarouselError from "./CommentCarouselError.jsx";
Expand Down
2 changes: 1 addition & 1 deletion src/comment/commentForm/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import SubmitButton from "./SubmitButton";
import useAuthState from "@/auth/store.js";

import Button from "@/common/Button.jsx";

Check failure on line 9 in src/comment/commentForm/index.jsx

View workflow job for this annotation

GitHub Actions / check-lint

'Button' is defined but never used
import { fetchServer, handleError } from "@/common/fetchServer.js";
import { fetchServer, handleError } from "@/common/dataFetch/fetchServer.js";
import { EVENT_ID } from "@/common/constants.js";
import openModal from "@/modal/openModal.js";

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 48897e5

Please sign in to comment.