fix: use fetch for single item
This commit is contained in:
@ -30,7 +30,7 @@ const ApiServiceEditPage: FC = () => {
|
|||||||
const { serviceId } = useParams();
|
const { serviceId } = useParams();
|
||||||
const apiService = useApiServices((state) => state.view);
|
const apiService = useApiServices((state) => state.view);
|
||||||
|
|
||||||
const loadService = useApiServices((state) => state.fetch);
|
const loadService = useApiServices((state) => state.fetchSingle);
|
||||||
|
|
||||||
const updateApiService = useApiServices((state) => state.update);
|
const updateApiService = useApiServices((state) => state.update);
|
||||||
const updating = useApiServices((state) => state.updating);
|
const updating = useApiServices((state) => state.updating);
|
||||||
|
Reference in New Issue
Block a user