From 62ec4fb07f9173c1c386886207d7059c22ed9acc Mon Sep 17 00:00:00 2001
From: Alexey Mostovoy <1931904+AMurkin@users.noreply.github.com>
Date: Thu, 19 Dec 2024 22:23:51 +0300
Subject: [PATCH] Fix variable name in README.md

---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index b49d3c7..f730da5 100644
--- a/README.md
+++ b/README.md
@@ -272,7 +272,7 @@ void HandleButtonInteraction(Clay_ElementId elementId, Clay_PointerData pointerI
 ButtonData linkButton = (ButtonData) { .link = "https://github.com/nicbarker/clay" };
 
 // HandleButtonInteraction will be called for each frame the mouse / pointer / touch is inside the button boundaries
-CLAY(CLAY_LAYOUT({ .padding = { 8, 8 }}), Clay_OnHover(HandleButtonInteraction, &buttonData)) {
+CLAY(CLAY_LAYOUT({ .padding = { 8, 8 }}), Clay_OnHover(HandleButtonInteraction, &linkButton)) {
     CLAY_TEXT(CLAY_STRING("Button"), &headerTextConfig);
 }
 ```