api 공통 모듈생성
search, api 공통 모듈 생성 공통모듈 화면 별 반영
This commit is contained in:
@@ -26,6 +26,7 @@ import { INITIAL_PAGE_LIMIT } from '../../assets/data/adminConstants';
|
||||
import { useAlert } from '../../context/AlertProvider';
|
||||
import { useLoading } from '../../context/LoadingProvider';
|
||||
import { alertTypes } from '../../assets/data/types';
|
||||
import useCommonSearchOld from '../../hooks/useCommonSearchOld';
|
||||
|
||||
const CaliumRequest = () => {
|
||||
const token = sessionStorage.getItem('token');
|
||||
@@ -56,7 +57,7 @@ const CaliumRequest = () => {
|
||||
handleOrderByChange,
|
||||
updateSearchParams,
|
||||
configLoaded
|
||||
} = useCommonSearch(token, "caliumRequestSearch");
|
||||
} = useCommonSearchOld("caliumRequestSearch");
|
||||
|
||||
const handleSubmit = async (type, param = null) => {
|
||||
switch (type) {
|
||||
|
||||
Reference in New Issue
Block a user