Skip to content

Commit 4211dae

Browse files
committed
Fixes duplicated UseMauiApp call in documentation
Removes a duplicated `UseMauiApp` call in the documentation for the Prism.Maui integration. This corrects the sample code and prevents potential confusion for developers following the guide.
1 parent b0f8a05 commit 4211dae

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/platforms/maui/appbuilder.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var builder = MauiApp.CreateBuilder();
1313
builder.UseMauiApp<App>();
1414

1515
// Include UsePrism after UseMauiApp
16-
builder.UseMauiApp<App>()
16+
builder.UseMauiApp<App>();
1717
builder.UsePrism(prism =>
1818
{
1919
// configure prism
@@ -91,7 +91,7 @@ builder.UsePrism(prism =>
9191
.RegisterTypes(container => {
9292
// Register platform agnostic types
9393
});
94-
}
94+
});
9595
```
9696

9797
### IServiceCollection Support

versioned_docs/version-9.0/platforms/maui/appbuilder.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var builder = MauiApp.CreateBuilder();
1313
builder.UseMauiApp<App>();
1414

1515
// Include UsePrism after UseMauiApp
16-
builder.UseMauiApp<App>()
16+
builder.UseMauiApp<App>();
1717
builder.UsePrism(prism =>
1818
{
1919
// configure prism
@@ -91,7 +91,7 @@ builder.UsePrism(prism =>
9191
.RegisterTypes(container => {
9292
// Register platform agnostic types
9393
});
94-
}
94+
});
9595
```
9696

9797
### IServiceCollection Support

0 commit comments

Comments
 (0)