Browse Source

[feat] Don't use dropdown

Sergio Mattei 2 years ago
parent
commit
f73408f895
1 changed files with 5 additions and 6 deletions
  1. 5
    6
      src/pages/AdviceListPage.tsx

+ 5
- 6
src/pages/AdviceListPage.tsx View File

33
             <IonTitle size="large">Advice</IonTitle>
33
             <IonTitle size="large">Advice</IonTitle>
34
           </IonToolbar>
34
           </IonToolbar>
35
         </IonHeader>
35
         </IonHeader>
36
-        <DropdownComponent name="Parentesco">
37
-          <TopicList
38
-            loading={isLoading}
39
-            topics={data ? (data as Topic[]) : []}
40
-          />
41
-        </DropdownComponent>
36
+        <TopicList
37
+          title="Parentesco"
38
+          loading={isLoading}
39
+          topics={data ? (data as Topic[]) : []}
40
+        />
42
         <IonToast
41
         <IonToast
43
           icon={alertCircleOutline}
42
           icon={alertCircleOutline}
44
           color="danger"
43
           color="danger"