fix: build issues

This commit is contained in:
sriram veeraghanta 2024-03-06 20:01:14 +05:30
parent 466f69a0b9
commit 6a6ab5544a
4 changed files with 4 additions and 5 deletions

View file

@ -93,7 +93,7 @@ export const AddComment: React.FC<Props> = observer((props) => {
customClassName="p-2"
editorContentCustomClassNames="min-h-[35px]"
debouncedUpdatesEnabled={false}
onChange={(comment_json: Object, comment_html: string) => {
onChange={(comment_json: unknown, comment_html: string) => {
onChange(comment_html);
}}
submitButton={

View file

@ -115,7 +115,7 @@ export const CommentCard: React.FC<Props> = observer((props) => {
value={value}
debouncedUpdatesEnabled={false}
customClassName="min-h-[50px] p-3 shadow-sm"
onChange={(comment_json: Object, comment_html: string) => {
onChange={(comment_json: unknown, comment_html: string) => {
onChange(comment_html);
}}
/>