Skip to content

Commit

Permalink
DOCUMENTATION: Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Mabrouk.Mahdhi authored and Mabrouk.Mahdhi committed Jul 26, 2024
1 parent 9af2388 commit 87d9440
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@ dotnet add package bClipboard
In your `Program.cs` file, register the `ClipboardService` with the dependency injection container.

```csharp
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Microsoft.Extensions.DependencyInjection;
using bClipboard;
using System.Threading.Tasks;
[...]
using bClipboard.Extensions;

var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add<App>("#app");
Expand Down

0 comments on commit 87d9440

Please sign in to comment.