diff --git a/components/dashboard/index.tsx b/components/dashboard/index.tsx index ec8d8e8..30b74db 100644 --- a/components/dashboard/index.tsx +++ b/components/dashboard/index.tsx @@ -197,75 +197,68 @@ const DashboardScreen = () => { renderItem={renderItem} /> ) : ( - - - setBeat({})} /> - - - - - - - - - {beat.name} - - - @{beat.username} - - - {beat.location} - + + setBeat({})} /> + + + + - - - + + + {beat.name} + + @{beat.username} + + + {beat.location} - Toaster("BeatDrop Posted", "success")} - /> - {beat.description} - {moment(beat.timestamp).fromNow()} + + + + + + Toaster("BeatDrop Posted", "success")} + /> + {beat.description} + {moment(beat.timestamp).fromNow()} - - {beat.comments?.map( - ( - { timestamp, photo, likes, username, comment }: comment, - index, - ) => ( - - - - - - - {username} - - - {moment(timestamp).fromNow()} - - - {comment} + + {beat.comments?.map( + ( + { timestamp, photo, likes, username, comment }: comment, + index, + ) => ( + + + + + + + {username} + + + {moment(timestamp).fromNow()} + - - + {comment} + + + - {likes} - + {likes} - ), - )} - + + ), + )} diff --git a/components/global/beat.tsx b/components/global/beat.tsx index acd9e3a..25a2f10 100644 --- a/components/global/beat.tsx +++ b/components/global/beat.tsx @@ -10,7 +10,7 @@ const Drop = ({ image, artist, song, location, length, onAdd }: beat) => { ); return ( - +