Why react query cache empty after reloading page