diff --git a/app/(tabs)/posts.tsx b/app/(tabs)/posts.tsx index c326c04..b1801bf 100644 --- a/app/(tabs)/posts.tsx +++ b/app/(tabs)/posts.tsx @@ -4,8 +4,15 @@ import { StyleSheet, Text, View } from 'react-native' import { PostComponent } from '../components/PostComponent' import { Post } from '../models/postModel' +// TODO: +// Overhaul posts display to use compact posts - once you click in you should see +// all the details provided by the user as well as buttons to approve or deny. +// Eventually I will also add the user to this page so the reviewer can click into +// the posters account and see their history. I would like to make a point system as well. +// When the buttons are pressed the user will be prompted to enter information +// on WHY the post was approved or denied. + export default function PostsScreen() { - const cloudfrontURL = process.env.CLOUDFRONT_URL const [posts, setPosts] = useState() useFocusEffect( diff --git a/app/components/CompactPostComponent.tsx b/app/components/CompactPostComponent.tsx index 4d091a3..e4052a4 100644 --- a/app/components/CompactPostComponent.tsx +++ b/app/components/CompactPostComponent.tsx @@ -1,10 +1,8 @@ -import { useUser } from '@clerk/clerk-react' import React from 'react' import { StyleSheet, Text, TouchableOpacity, View } from 'react-native' import { Post, StatusEnum } from '../models/postModel' export const CompactPostComponent: React.FC = (post) => { - const { user } = useUser() console.log() console.log()