Skip to content

Commit

Permalink
Merge pull request #809 from filipedeschamps/deleted-content-bug
Browse files Browse the repository at this point in the history
Resolve o bug da mensagem "Conteúdo apagado com sucesso"
  • Loading branch information
aprendendofelipe authored Dec 8, 2022
2 parents b81d490 + a687cb8 commit ec96bd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pages/[username]/[slug]/index.public.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default function Post({
</Box>

<Box sx={{ width: '100%', overflow: 'auto' }}>
<Content content={contentFound} mode="view" />
<Content key={contentFound.id} content={contentFound} mode="view" />
</Box>
</Box>

Expand All @@ -121,7 +121,7 @@ export default function Post({
<Content key={contentFound.id} content={{ parent_id: contentFound.id }} mode="compact" />
</Box>

<RenderChildrenTree childrenList={children} level={0} />
<RenderChildrenTree key={contentFound.id} childrenList={children} level={0} />
</Box>
</DefaultLayout>
</>
Expand Down
2 changes: 1 addition & 1 deletion pages/interface/components/Head/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function DefaultHead() {
<link rel="manifest" href="/manifest.json" crossOrigin="use-credentials" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
<meta httpEquiv="Content-Security-Policy" content="upgrade-insecure-requests" />
</NextHead>
);
}
Expand Down

1 comment on commit ec96bd2

@vercel
Copy link

@vercel vercel bot commented on ec96bd2 Dec 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

tabnews – ./

tabnews-git-main-tabnews.vercel.app
tabnews-tabnews.vercel.app
tabnews.com.br
www.tabnews.com.br

Please sign in to comment.