Browse Source

[feat] Don't use dropdown

Sergio Mattei 1 year 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,12 +33,11 @@ const AdviceListPage: React.FC = () => {
33 33
             <IonTitle size="large">Advice</IonTitle>
34 34
           </IonToolbar>
35 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 41
         <IonToast
43 42
           icon={alertCircleOutline}
44 43
           color="danger"