From 7bce874528e243981ef5cb344b4939e3a2c92bf2 Mon Sep 17 00:00:00 2001 From: w8api <75376632+w8api@users.noreply.github.com> Date: Fri, 8 Jan 2021 14:38:14 -0300 Subject: [PATCH] Update README.md The correct injection type is `IIntersectionObserverService`, `IntersectionObserverService` throws an exception. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d68edd4..fe527bd 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ To directly use the service, you just need to inject it and observe the element( ```razor @using Blazor.IntersectionObserver -@inject IntersectionObserverService ObserverService +@inject IIntersectionObserverService ObserverService @@ -184,7 +184,7 @@ This is a useful method to clean up observers when components are disposed of, i ```razor @using Blazor.IntersectionObserver @implements IAsyncDisposable -@inject IntersectionObserverService ObserverService +@inject IIntersectionObserverService ObserverService