Skip to content

Commit

Permalink
Add missing useModalContext export
Browse files Browse the repository at this point in the history
  • Loading branch information
zeppelin committed Feb 16, 2024
1 parent 1dfee1f commit 6de0f74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export { default as ModalContainer } from './ModalContainer.svelte';
export { openModal } from './service';
export { openModal, useModalContext } from './service';
export type { CloseModalFn } from './types';
2 changes: 1 addition & 1 deletion tests-ct/Wrapper.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script>
import { useModalContext } from '$lib/service';
import { useModalContext } from '$lib';
let { openModal } = useModalContext();
</script>
Expand Down

0 comments on commit 6de0f74

Please sign in to comment.