diff --git a/app/components/sheets/AlertList.tsx b/app/components/sheets/AlertList.tsx index f8d234c..28fdca9 100644 --- a/app/components/sheets/AlertList.tsx +++ b/app/components/sheets/AlertList.tsx @@ -36,7 +36,7 @@ const AlertList: React.FC = ({ sheetRef }) => { }, [selectedRoute, alerts]); return ( - + {/* header */} = ({ sheetRef }) => { alert.name} + data={shownAlerts.filter((obj, index, self) => self.findIndex(o => o.name === obj.name) === index)} + keyExtractor={alert => alert.key} style={{ height: "100%", marginLeft: 16, paddingTop: 8 }} contentContainerStyle={{ paddingBottom: 35, paddingRight: 16 }} renderItem={({ item: alert }) => {