New post view + fix moment location

This commit is contained in:
Adolfo Reyna
2022-12-22 23:06:21 -05:00
parent 3d50977520
commit 1c0dbbbe84
7 changed files with 156 additions and 27 deletions

View File

@@ -1,10 +1,7 @@
import { StatusBar } from 'expo-status-bar';
import React, { useState, useEffect } from 'react';
import { View, ActivityIndicator, StyleSheet, SafeAreaView, FlatList } from 'react-native';
import { StyleSheet, SafeAreaView, FlatList } from 'react-native';
import API from './../API.js';
import Post from './../components/Post.js';
import NewPost from "./../components/NewPost.js";
import { useSnapshot } from 'valtio';
import GlobalState from '../contexts/GlobalState.js';
import AsyncStorage from '@react-native-async-storage/async-storage';