diff --git a/containers/ecr-viewer/src/app/components/BaseFilter.tsx b/containers/ecr-viewer/src/app/components/BaseFilter.tsx index 23c23236a..4de9c8356 100644 --- a/containers/ecr-viewer/src/app/components/BaseFilter.tsx +++ b/containers/ecr-viewer/src/app/components/BaseFilter.tsx @@ -43,13 +43,11 @@ export const useQueryParam = () => { // Set a query param with a specific value const setQueryParam = (key: string, value: string) => { curSearchParams.set(key, value); - return; }; // Delete a query param or a specific query param value const deleteQueryParam = (key: string) => { curSearchParams.delete(key); - return; }; const pushQueryUpdate = () => { @@ -75,8 +73,6 @@ export const useQueryParam = () => { .join("|"); } isDefault ? deleteQueryParam(key) : setQueryParam(key, value); - - return; }; return { searchParams, deleteQueryParam, updateQueryParam, pushQueryUpdate };