aboutsummaryrefslogtreecommitdiff
path: root/src/screens
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/profile/IndividualMoment.tsx18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/screens/profile/IndividualMoment.tsx b/src/screens/profile/IndividualMoment.tsx
index 0c50a642..4baca5b2 100644
--- a/src/screens/profile/IndividualMoment.tsx
+++ b/src/screens/profile/IndividualMoment.tsx
@@ -57,24 +57,6 @@ const IndividualMoment: React.FC<IndividualMomentProps> = ({
);
const initialIndex = momentData.findIndex((m) => m.moment_id === moment_id);
- const loadMomentTags = async () => {
- try {
- const token = await AsyncStorage.getItem('token');
- const response = await fetch(MOMENT_TAGS_ENDPOINT + `/${moment_id}/`, {
- method: 'GET',
- headers: {
- Authorization: 'Token ' + token,
- },
- });
- const status = response.status;
- if (status === 201) {
- //create TaggDraggables with
- }
- } catch (error) {
- Alert.alert(ERROR_SOMETHING_WENT_WRONG_REFRESH);
- }
- };
-
const renderMomentPost = ({item}: {item: MomentType}) => (
<View style={styles.postContainer}>
<MomentPostHeader