diff --git a/docs/react/navigation.md b/docs/react/navigation.md
index 34c2cdd9d6a..e54acf220db 100644
--- a/docs/react/navigation.md
+++ b/docs/react/navigation.md
@@ -403,13 +403,12 @@ When working with tabs, Ionic needs a way to know which view belongs to which ta
```tsx
-
- } />
-
-
-
-
-
+
+ } />
+
+
+
+
```
diff --git a/versioned_docs/version-v6/react/navigation.md b/versioned_docs/version-v6/react/navigation.md
index 97bf7a64405..a8554943706 100644
--- a/versioned_docs/version-v6/react/navigation.md
+++ b/versioned_docs/version-v6/react/navigation.md
@@ -403,13 +403,12 @@ When working with tabs, Ionic needs a way to know which view belongs to which ta
```tsx
-
- } />
-
-
-
-
-
+
+ } />
+
+
+
+
```