Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxhoundn committed Jul 17, 2024
1 parent b21003e commit 669082d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/components/RichTextEditor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,7 @@ export const ReqoreRichTextEditor = ({
}, [value]);

const panelActions = useMemo<IReqorePanelAction[]>(() => {
console.log(editor.history, value);
let _actions: IReqorePanelAction[] = [...(panelProps?.actions || [])];
const _actions: IReqorePanelAction[] = [...(panelProps?.actions || [])];

if (!actions) {
return _actions;
Expand Down
2 changes: 1 addition & 1 deletion src/react-augmentation.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'react';

declare module 'react' {
function forwardRef<T, P = {}>(
function forwardRef<T, P = Record<string, any>>(
render: (props: P, ref: ForwardedRef<T>) => ReactElement | null
): (props: P & RefAttributes<T>) => ReactElement | null;
}

0 comments on commit 669082d

Please sign in to comment.