Make base query params overridable

This commit is contained in:
Johannes Klein
2024-09-12 15:21:45 +02:00
parent 18c671f311
commit 4d413700bd

View File

@@ -12,9 +12,9 @@ const useInfiniteScroll = (
}
): Object => {
const baseParams = {
...newInputParams,
per_page: 10,
ttl: -1
ttl: -1,
...newInputParams
};
const {