Update MailUiEditor.tsx #5
Annotations
11 errors and 4 warnings
|
Lint:
src/MailUiEditor.ts#L3
Replace `CSSProperties` with `·CSSProperties·`
|
Lint:
src/MailUiEditor.ts#L6
Replace `Editor·as·EditorClass` with `·Editor·as·EditorClass·`
|
Lint:
src/MailUiEditor.ts#L13
Delete `··`
|
Lint:
src/MailUiEditor.ts#L17
Delete `··`
|
Lint:
src/MailUiEditor.ts#L18
Delete `··`
|
Lint:
src/MailUiEditor.ts#L19
Delete `··`
|
Lint:
src/MailUiEditor.ts#L20
Delete `··`
|
Lint:
src/MailUiEditor.ts#L21
Delete `··`
|
Lint:
src/MailUiEditor.ts#L23
Delete `··`
|
Lint:
src/MailUiEditor.ts#L25
Delete `··`
|
Lint:
src/hooks/useEditorInitialization.ts#L13
React Hook useEffect has missing dependencies: 'editor', 'options', and 'setEditor'. Either include them or remove the dependency array. If 'setEditor' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Lint:
src/hooks/useEditorInitialization.ts#L13
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
Lint:
src/hooks/useEventHandlers.ts#L26
React Hook useEffect has missing dependencies: 'eventProps' and 'props'. Either include them or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect
|
Lint:
src/hooks/useEventHandlers.ts#L26
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
Loading