From 9ccea2521947c0208a523c6a7a236d3ad8a961e1 Mon Sep 17 00:00:00 2001 From: Thomas Cleary Date: Sat, 8 Oct 2022 16:52:00 +0800 Subject: [PATCH] [Beta] fix typo in 'Removing Effect Dependencies' (#5167) --- beta/src/content/learn/removing-effect-dependencies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beta/src/content/learn/removing-effect-dependencies.md b/beta/src/content/learn/removing-effect-dependencies.md index 5e9af4d8..b7e77e8d 100644 --- a/beta/src/content/learn/removing-effect-dependencies.md +++ b/beta/src/content/learn/removing-effect-dependencies.md @@ -961,7 +961,7 @@ const roomId1 = 'music'; const roomId2 = 'music'; // These two strings are the same! -console.log(Object.is(options1, options2)); // true +console.log(Object.is(roomId1, roomId2)); // true ```` Thanks to this fix, the chat no longer re-connects if you edit the input: