From e8fea737dd6baaca9ddcb3917af1af08729bd938 Mon Sep 17 00:00:00 2001 From: anonymous Date: Wed, 21 Sep 2022 12:46:08 -0400 Subject: Update README.md --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1d7357d..4c27ffa 100644 --- a/README.md +++ b/README.md @@ -26,12 +26,8 @@ const queryID = await graffiti.subscribe({ // And then unsubscribe to those queries await graffiti.unsubscribe(queryID) -// You can log in and out and check your logged-in status -graffiti.logIn() -graffiti.logOut() -if (graffiti.loggedIn) { - // ... -} +// You can toggle logging in and out +graffiti.toggleLogIn() // When you are logged in you can reference your user ID console.log(graffiti.myID) -- cgit v1.2.3-70-g09d2