CFE-17 Fixed bug revalidating call history
This commit is contained in:
@@ -16,7 +16,7 @@ const useCallerHistory = (call_id, phone_number, max_size) => {
|
||||
};
|
||||
|
||||
const {data, isLoading} = useSWR(`${GET_CALLER_HISTORY}?phone_number=${phone_number}&size=${max_size}`, fetcher, {
|
||||
revalidateIfStale: false,
|
||||
revalidateIfStale: true,
|
||||
revalidateOnFocus: false,
|
||||
revalidateOnReconnect: false,
|
||||
keepPreviousData: true
|
||||
|
||||
Reference in New Issue
Block a user