Skip to content

Commit

Permalink
Remove uploading-attachment custom model from BaseHTMLEngineProvider
Browse files Browse the repository at this point in the history
The `uploading-attachment` custom model is removed as it is no longer used.
  • Loading branch information
kidroca committed Jul 12, 2024
1 parent d28d2e0 commit 55a79e9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/HTMLEngineProvider/BaseHTMLEngineProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ function BaseHTMLEngineProvider({textSelectable = false, children, enableExperim
mixedUAStyles: {...styles.textSupporting, ...styles.textLineThrough},
contentModel: HTMLContentModel.textual,
}),
'uploading-attachment': HTMLElementModel.fromCustomModel({
tagName: 'uploading-attachment',
mixedUAStyles: {...styles.mt4},
contentModel: HTMLContentModel.block,
}),
}),
[styles.formError, styles.mb0, styles.colorMuted, styles.textLabelSupporting, styles.lh16, styles.textSupporting, styles.textLineThrough, styles.mt4, styles.mutedNormalTextLabel],

Check warning on line 86 in src/components/HTMLEngineProvider/BaseHTMLEngineProvider.tsx

View workflow job for this annotation

GitHub Actions / Run ESLint

React Hook useMemo has an unnecessary dependency: 'styles.mt4'. Either exclude it or remove the dependency array
);
Expand Down

0 comments on commit 55a79e9

Please sign in to comment.