Fakultas Ilmu Komputer UI

Commit 171a9d02 authored by Ahmad Izzudin Alifyandra's avatar Ahmad Izzudin Alifyandra
Browse files

Merge branch 'master' of...

Merge branch 'master' of https://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/ppl-ki-ganjil-2021-2022/clicks/clicks-frontend into PBI-13-Create_Ecosystem_Page
parents 64b6028f 3c8a0c84
Pipeline #86228 passed with stage
in 10 minutes and 45 seconds
import * as React from "react"; import React, { useEffect } from "react";
import { StyleSheet } from "react-native"; import { StyleSheet } from "react-native";
import { Text, View } from "../../components/Themed"; import { Text, View } from "../../components/Themed";
import Colors from "../../constants/Colors"; import Colors from "../../constants/Colors";
...@@ -10,18 +10,20 @@ const RecommendedEcosystemScreen = ({ ...@@ -10,18 +10,20 @@ const RecommendedEcosystemScreen = ({
}: EcosystemStackScreenProps<"Recommended">) => { }: EcosystemStackScreenProps<"Recommended">) => {
const { toFetch } = route.params; const { toFetch } = route.params;
switch (toFetch) { useEffect(() => {
case "popular": switch (toFetch) {
break; case "popular":
case "myEcosystem": break;
break; case "myEcosystem":
case "mostRecent": break;
break; case "mostRecent":
case "joined": break;
break; case "joined":
default: break;
break; default:
} break;
}
}, []);
LogBox.ignoreLogs([ LogBox.ignoreLogs([
"Non-serializable values were found in the navigation state", "Non-serializable values were found in the navigation state",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment