Skip to content

Commit

Permalink
docs: fix #2161 (#2162)
Browse files Browse the repository at this point in the history
  • Loading branch information
YieldRay authored Nov 27, 2023
1 parent f3ef394 commit cd688f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/cookbook/import/project.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export const Waline = (props: WalineOptions) => {

useEffect(() => {
walineInstanceRef.current?.update(props);
}, props);
}, [props]);

return <div ref={containerRef} />;
};
Expand Down

0 comments on commit cd688f5

Please sign in to comment.