Skip to content

Commit

Permalink
fix(image): make triggerOnMount optional
Browse files Browse the repository at this point in the history
  • Loading branch information
lynhan318 committed Feb 25, 2024
1 parent 0117b2b commit b938ac2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/afraid-cameras-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@nextlint/svelte': patch
---

fix(image): make triggeronMount optional
2 changes: 1 addition & 1 deletion packages/svelte/src/lib/plugins/image/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface ImagePluginOptions {
unsplash?: {
accessKey: string;
};
triggerOnMount: boolean;
triggerOnMount?: boolean;
}

const imageStore = writable<NodeViewRendererProps | null>(null);
Expand Down

0 comments on commit b938ac2

Please sign in to comment.