Skip to content

Commit

Permalink
fix :: 누락된 api함수명 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
KANGYONGSU23 committed Nov 27, 2023
1 parent 5b8a844 commit b1ca416
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/recruitments/filter.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client";

import { GetCode } from "@/apis/code";
import { useGetCode } from "@/apis/code";
import useForm from "@/hook/useForm";
import { useQueryString } from "@/hook/useQueryString";
import React, { useEffect, useState } from "react";
Expand Down Expand Up @@ -47,7 +47,7 @@ function Filter() {
} else setFilter((prev) => ({ ...prev, [name]: itemCode }));
};

const { data } = GetCode("JOB");
const { data } = useGetCode("JOB");

return (
<div className="flex gap-4">
Expand All @@ -67,7 +67,6 @@ function Filter() {
enterEvent={onSearch}
width="26vw"
/>

</div>
);
}
Expand Down

0 comments on commit b1ca416

Please sign in to comment.