diff --git a/packages/components/src/lib/hooks/useSquiggle.ts b/packages/components/src/lib/hooks/useSquiggle.ts index 3a18502a..7594781a 100644 --- a/packages/components/src/lib/hooks/useSquiggle.ts +++ b/packages/components/src/lib/hooks/useSquiggle.ts @@ -53,7 +53,7 @@ export const useSquiggle = (args: SquiggleArgs) => { useEffect(() => { onChange?.( result.result.tag === "Ok" ? result.result.value : undefined, - sourceName + sourceName ); }, [result, onChange, sourceName]);