From c654ed6ef3ce19c5d9c41c33358d4e91bf6cf806 Mon Sep 17 00:00:00 2001 From: SandraBergstrom Date: Mon, 3 Jul 2023 13:31:26 +0000 Subject: [PATCH] #36 Add location to post card --- src/pages/posts/Post.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pages/posts/Post.js b/src/pages/posts/Post.js index 8a96172..c8b7e91 100644 --- a/src/pages/posts/Post.js +++ b/src/pages/posts/Post.js @@ -31,6 +31,8 @@ const Post = (props) => { updated_at, postPage, setPosts, + location, + country, } = props; const currentUser = useCurrentUser(); @@ -191,6 +193,10 @@ const Post = (props) => { )} {bucketlists_count} +
+
+ With love from {location} in {country} +
);