Revert "DEV: Ensure helper or post exist before decorations (#27)" (#28)

This reverts commit 2896c69a72.
This commit is contained in:
Keegan George 2022-09-21 10:12:32 -07:00 committed by GitHub
parent 2896c69a72
commit 55c80ed04f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -73,9 +73,6 @@ export default apiInitializer("0.11.1", (api) => {
api.decorateCookedElement(
(post, helper) => {
if (!helper || !post) {
return;
}
const canEdit = helper.widget.attrs.canEdit;
if (!canEdit) {