From ecbf993751ec4304464e2c078e41df97bebc3d4d Mon Sep 17 00:00:00 2001 From: 710lucas Date: Sat, 16 Dec 2023 14:20:21 -0300 Subject: [PATCH] Corrigindo erros --- .../Group/GroupTabs/GroupFeed/GroupFeed.tsx | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/src/pages/Group/GroupTabs/GroupFeed/GroupFeed.tsx b/src/pages/Group/GroupTabs/GroupFeed/GroupFeed.tsx index d9204c23..062f3c11 100644 --- a/src/pages/Group/GroupTabs/GroupFeed/GroupFeed.tsx +++ b/src/pages/Group/GroupTabs/GroupFeed/GroupFeed.tsx @@ -166,28 +166,6 @@ export function GroupFeed(){

{post.content}

- { !hasAvailableOption(OPTIONS_DEFINITION) || !canSeeMenu(post) ? null : - - - - - - - { OPTIONS_DEFINITION.map(def => { - if(def.text == "Editar publicação" && post.author?.id == groupContext?.loggedData.profile.id) - return renderOption(post, def) - else if(def.text == "Editar publicação") - return null - else - return renderOption(post, def) - - }) } - - - - }
)