Skip to content

Commit 2c57e0a

Browse files
committed
test(react): fix icon page
1 parent c094bbc commit 2c57e0a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/react/test/base/src/pages/Icons.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useState } from 'react';
2-
import { IonBackButton, IonButton, IonButtons, IonContent, IonHeader, IonIcon, IonItem, IonLabel, IonList, IonTitle, IonToolbar } from '@ionic/react';
2+
import { IonBackButton, IonButton, IonButtons, IonContent, IonHeader, IonIcon, IonItem, IonLabel, IonList, IonTitle, IonToolbar, IonPage } from '@ionic/react';
33
import { heart, heartCircleOutline, logoApple, logoTwitter, personCircleOutline, star, starOutline, trash } from 'ionicons/icons';
44

55
interface IconsProps {}
@@ -14,7 +14,7 @@ const Icons: React.FC<IconsProps> = () => {
1414
}
1515

1616
return (
17-
<>
17+
<IonPage>
1818
<IonHeader translucent={true}>
1919
<IonToolbar>
2020
<IonButtons>
@@ -88,7 +88,7 @@ const Icons: React.FC<IconsProps> = () => {
8888
</IonItem>
8989
</IonList>
9090
</IonContent>
91-
</>
91+
</IonPage>
9292
);
9393
};
9494

0 commit comments

Comments
 (0)