Skip to content

A local-first personal finance app

Update ConfirmCategoryDeleteModal.tsx (#4175)

Sam Pellino4bfb64cdfcaf
diff --git a/packages/desktop-client/src/components/modals/ConfirmCategoryDeleteModal.tsx b/packages/desktop-client/src/components/modals/ConfirmCategoryDeleteModal.tsx
index ddb4cffa0a..5c2a9d723c 100644
--- a/packages/desktop-client/src/components/modals/ConfirmCategoryDeleteModal.tsx
+++ b/packages/desktop-client/src/components/modals/ConfirmCategoryDeleteModal.tsx
@@ -78,7 +78,8 @@ export function ConfirmCategoryDeleteModal({
</Block>
) : (
<Block>
- <strong>{category.name}</strong>is used by existing transactions
+ <strong>{category.name}</strong> is used by existing
+ transactions
{!isIncome &&
' or it has a positive leftover balance currently'}
. <strong>Are you sure you want to delete it?</strong> If so,
diff --git a/upcoming-release-notes/4175.md b/upcoming-release-notes/4175.md
new file mode 100644
index 0000000000..4129cfdc7b
--- /dev/null
+++ b/upcoming-release-notes/4175.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [sampellino]
+---
+
+Add a missing space between the category name and "is" in the category deletion popup.