Commit a3de161 1 parent 67a7e68 commit a3de161 Copy full SHA for a3de161
File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ const useAxios = <
50
50
const responseData = transform ? transform ( res . data ) : res . data
51
51
setResponse ( responseData as TransformedResponse )
52
52
setError ( null )
53
+ // eslint-disable-next-line @typescript-eslint/no-floating-promises
53
54
onResponse && onResponse ( responseData as TransformedResponse ) ?. catch ( )
54
55
} catch ( e ) {
55
56
const error = e as AxiosError < ErrorResponse >
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export const useFilterQuery = <T extends object>({
33
33
const updateFiltersInQuery : UpdateFiltersInQuery < T > = useCallback (
34
34
( valuesToUpdate ) => {
35
35
for ( const key in valuesToUpdate ) {
36
- const value = valuesToUpdate [ key ] !
36
+ const value = valuesToUpdate [ key ]
37
37
38
38
if ( value ) {
39
39
searchParams . set ( String ( key ) , String ( value ) )
You can’t perform that action at this time.
0 commit comments