Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySerfaty committed Feb 5, 2024
1 parent c42228e commit b3c6361
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/src/Examples/Advanced/AdvancedRichText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
UnderlineBridge,
useNativeEditor,
useNativeEditorState,
type EditorInstance,
} from 'tentap';

// @ts-ignore
Expand All @@ -29,7 +30,7 @@ const exampleStyles = StyleSheet.create({
},
});

const Counter = ({ editor }) => {
const Counter = ({ editor }: { editor: EditorInstance }) => {
const state = useNativeEditorState(editor);
return (
<View>
Expand Down

0 comments on commit b3c6361

Please sign in to comment.