Skip to content

Commit

Permalink
Merge branch 'task/WG-238-panel-assets-listing' of github.com:TACC-Cl…
Browse files Browse the repository at this point in the history
…oud/hazmapper into task/WG-238-panel-assets-listing
  • Loading branch information
nathanfranklin committed Nov 11, 2024
2 parents fdfa3dd + 4246b60 commit 9e3c9e0
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 UseDeleteWithParams<ResponseType, Variables> = {
type UseDeleteParams<ResponseType, Variables> = {
endpoint: string | ((variables: Variables) => string);
options?: Omit<
UseMutationOptions<ResponseType, AxiosError, Variables>,
Expand All @@ -199,11 +199,11 @@ type UseDeleteWithParams<ResponseType, Variables> = {
apiService?: ApiService;
};

export function useDeleteWithParams<ResponseType, Variables>({
export function useDelete<ResponseType, Variables>({

Check failure on line 202 in react/src/requests.ts

View workflow job for this annotation

GitHub Actions / React-Linting

All useDelete signatures should be adjacent
endpoint,
options = {},
apiService = ApiService.Geoapi,
}: UseDeleteWithParams<ResponseType, Variables>) {
}: UseDeleteParams<ResponseType, Variables>) {
const client = axios;
const state = store.getState();
const configuration = useAppConfiguration();
Expand Down

0 comments on commit 9e3c9e0

Please sign in to comment.