Merge pull request #7 from leog/main

Fixing list item url + notification close button
This commit is contained in:
Max Lynch
2021-02-07 13:54:22 -06:00
committed by GitHub
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ import {
} from '@ionic/react'; } from '@ionic/react';
const ListEntry = ({ list, ...props }) => ( const ListEntry = ({ list, ...props }) => (
<IonItem href={`/tabs/lists/${list.id}`} className="list-entry"> <IonItem routerLink={`/tabs/lists/${list.id}`} className="list-entry">
<IonLabel>{list.name}</IonLabel> <IonLabel>{list.name}</IonLabel>
</IonItem> </IonItem>
); );
+3
View File
@@ -34,6 +34,9 @@ const Notifications = ({ open, onDidDismiss }) => {
<IonHeader> <IonHeader>
<IonToolbar> <IonToolbar>
<IonTitle>Notifications</IonTitle> <IonTitle>Notifications</IonTitle>
<IonButton slot="end" fill="clear" color="dark" onClick={onDidDismiss}>
<IonIcon icon={close} />
</IonButton>
</IonToolbar> </IonToolbar>
</IonHeader> </IonHeader>
<IonContent fullscreen> <IonContent fullscreen>