Skip to content

Commit

Permalink
Fix bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanfranklin committed Nov 11, 2024
1 parent 9e3c9e0 commit 84f34a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions react/src/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export function useDelete<ResponseType>({
return useMutation<ResponseType, AxiosError>(deleteUtil, options);
}

type UseDeleteParams<ResponseType, Variables> = {
type UseDeleteWithParams<ResponseType, Variables> = {
endpoint: string | ((variables: Variables) => string);
options?: Omit<
UseMutationOptions<ResponseType, AxiosError, Variables>,
Expand All @@ -199,11 +199,11 @@ type UseDeleteParams<ResponseType, Variables> = {
apiService?: ApiService;
};

export function useDelete<ResponseType, Variables>({
export function useDeleteWithParams<ResponseType, Variables>({
endpoint,
options = {},
apiService = ApiService.Geoapi,
}: UseDeleteParams<ResponseType, Variables>) {
}: UseDeleteWithParams<ResponseType, Variables>) {
const client = axios;
const state = store.getState();
const configuration = useAppConfiguration();
Expand Down

0 comments on commit 84f34a7

Please sign in to comment.