I have a blazor app.In my wwwroot folder I created a folder called JS and created a javascript file called Paginate.js and wrote 2 functions.
In my app.razor I referenced thre js file and the page on my blazor I tried to invoke the function. Now i get the above error. I removed what I did to the last time it worked and I am still getting the same message?
Is there anything that was created in the background or what am I missing?
Thanks
OnAfterRenderAsync{ Await JSRuntime.InvokeVoidAsync("pagination")}