Skip to content

Commit

Permalink
fix: 🧩 fix the useless type any in codeDrawer
Browse files Browse the repository at this point in the history
  • Loading branch information
limuen committed May 28, 2024
1 parent 79b3e95 commit 5766bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/react-low-code/src/components/CodeDrawer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface CodeDrawerRef {
open: (code: string) => void;
}

export const CodeDrawer = forwardRef<CodeDrawerRef>((_props: any, ref) => {
export const CodeDrawer = forwardRef<CodeDrawerRef>((_, ref) => {
const [open, setOpen] = useState(false);
const [content, setContent] = useState("");

Expand Down

0 comments on commit 5766bc5

Please sign in to comment.