From 26a591f07f41703abfa52e99d540a6dc3b0b7464 Mon Sep 17 00:00:00 2001
From: Matiss Janis Aboltins <matiss@mja.lv>
Date: Sat, 27 Jul 2024 16:41:59 +0100
Subject: [PATCH] :bug: add missing hover cursor to new button component
 (#3142)

---
 packages/desktop-client/src/components/common/Button2.tsx | 1 +
 upcoming-release-notes/3142.md                            | 6 ++++++
 2 files changed, 7 insertions(+)
 create mode 100644 upcoming-release-notes/3142.md

diff --git a/packages/desktop-client/src/components/common/Button2.tsx b/packages/desktop-client/src/components/common/Button2.tsx
index 73d20bb5b..5c80848b5 100644
--- a/packages/desktop-client/src/components/common/Button2.tsx
+++ b/packages/desktop-client/src/components/common/Button2.tsx
@@ -141,6 +141,7 @@ export const Button = forwardRef<HTMLButtonElement, ButtonProps>(
       ...(variant !== 'bare' && styles.shadow),
       backgroundColor: backgroundColorHover[variant],
       color: textColorHover[variant],
+      cursor: 'pointer',
     };
     const pressedStyle = {
       ..._getActiveStyles(variant, bounce),
diff --git a/upcoming-release-notes/3142.md b/upcoming-release-notes/3142.md
new file mode 100644
index 000000000..22dde9069
--- /dev/null
+++ b/upcoming-release-notes/3142.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [MatissJanis]
+---
+
+Add missing `:hover` cursor to the new `Button` component.
-- 
GitLab