diff --git a/docs/recipes/use-atom-effect.mdx b/docs/recipes/use-atom-effect.mdx index 405d5b6cdc..c442d5db98 100644 --- a/docs/recipes/use-atom-effect.mdx +++ b/docs/recipes/use-atom-effect.mdx @@ -48,7 +48,7 @@ function Messages({ channelId }: { channelId: string }) { }) return unsubscribe }, - [id], + [channelId], ), ) return (