diff --git a/docs/source/tutorial/local-state.md b/docs/source/tutorial/local-state.md index 26686aa..5b9a4bc 100644 --- a/docs/source/tutorial/local-state.md +++ b/docs/source/tutorial/local-state.md @@ -249,6 +249,12 @@ export default function LogoutButton() { ); } + +const StyledButton = styled("button")(menuItemClassName, { + background: "none", + border: "none", + padding: 0 +}); ``` When we click the button, we perform a direct cache write by calling `client.writeData` and passing in a data object that sets the `isLoggedIn` boolean to false.