Skip to content

Commit

Permalink
fix: types in example, remove unused lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jrea committed May 2, 2022
1 parent 4485161 commit 9f082f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
"plugin:react/recommended",
"eslint:recommended",
"prettier",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended"
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"extraFileExtensions": [".mjs"]
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/components/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type EditorProps = {
};
export const Editor = ({ textRef, height }: EditorProps) => {
const handleChange = useCallback(
(value) => {
(value: string) => {
// don't re-render... for now
textRef.current = value;
},
Expand Down

0 comments on commit 9f082f7

Please sign in to comment.