Skip to content

Commit

Permalink
chore: typo on composable name
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu committed Jul 5, 2024
1 parent 67f7f87 commit 26205fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/components/SbRichText.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<script setup lang="ts">
import { useSbRichtext } from "../composables/useRichText";
import { useSbRichText } from "../composables/useRichText";
const props = defineProps<{ doc: any; resolvers?: any }>();
const { render } = useSbRichtext({
const { render } = useSbRichText({
resolvers: props.resolvers,
});
Expand Down
2 changes: 1 addition & 1 deletion lib/composables/useRichText.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const componentResolver: NodeResolver<VNode> = (node: Node<VNode>): VNode => {
);
};

export function useSbRichtext(options: SbRichtextOptions<VNode>) {
export function useSbRichText(options: SbRichtextOptions<VNode>) {
const mergedOptions: SbRichtextOptions<VNode> = {
renderFn: h,
textFn: createTextVNode,
Expand Down

0 comments on commit 26205fe

Please sign in to comment.