complete UpdateForm component and all of its sub items with their own tests and add gitlab-ci and new eslint file

This commit is contained in:
2023-10-18 11:15:00 +03:30
parent 4f752c9a46
commit 8c2ad759b0
24 changed files with 1266 additions and 27 deletions

View File

@@ -16,7 +16,8 @@ const useProvince = () => {
const {data, isLoading} = useSWR(GET_PROVINCE_LIST, fetcher, {
revalidateIfStale: false,
revalidateOnFocus: false,
revalidateOnReconnect: false
revalidateOnReconnect: false,
keepPreviousData: true
});
return {

View File

@@ -16,7 +16,8 @@ const useRole = () => {
const {data, isLoading} = useSWR(GET_ROLE_LIST, fetcher, {
revalidateIfStale: false,
revalidateOnFocus: false,
revalidateOnReconnect: false
revalidateOnReconnect: false,
keepPreviousData: true
});
return {