From b18ef83c5e694004161311a85b1318375e7ce6b4 Mon Sep 17 00:00:00 2001 From: anitarua Date: Wed, 9 Aug 2023 12:45:55 -0700 Subject: [PATCH] fix: leaving chat room and rejoining as readonly user was buggy --- examples/web/vite-chat-app/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/web/vite-chat-app/src/App.tsx b/examples/web/vite-chat-app/src/App.tsx index 6ac8908e3..8d8b25f5e 100644 --- a/examples/web/vite-chat-app/src/App.tsx +++ b/examples/web/vite-chat-app/src/App.tsx @@ -17,7 +17,7 @@ export default function Home() { setCognitoUserSelected(false); setTopic(""); setUsername(""); - setCognitoUser(""); + setCognitoUser("ReadOnly"); }; if (!import.meta.env.VITE_MOMENTO_CACHE_NAME) {