Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enactment: enable triggering of rules on selected transaction form the account view. #3805
base: master
Are you sure you want to change the base?
Enactment: enable triggering of rules on selected transaction form the account view. #3805
Changes from all commits
9fcd93e
f857d26
cccc730
a27e6d0
a7861a8
08350b5
01af7fe
5c520d1
7518e0a
b201f3c
a9ecf42
f66f64f
6f904c5
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check failure on line 709 in packages/desktop-client/src/components/accounts/Account.tsx
GitHub Actions / typecheck
Check failure on line 712 in packages/desktop-client/src/components/accounts/Account.tsx
GitHub Actions / typecheck
Check warning on line 722 in packages/desktop-client/src/components/accounts/Account.tsx
GitHub Actions / lint
Check failure on line 722 in packages/desktop-client/src/components/accounts/Account.tsx
GitHub Actions / typecheck
Check warning on line 726 in packages/desktop-client/src/components/accounts/Account.tsx
GitHub Actions / lint
Check failure on line 726 in packages/desktop-client/src/components/accounts/Account.tsx
GitHub Actions / typecheck
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix duplicate code blocks and variable redeclarations
The implementation has several critical issues that need to be addressed:
transactions
andchangedTransactions
Apply this diff to fix the issues:
📝 Committable suggestion
🧰 Tools
🪛 Biome (1.9.4)
[error] 722-722: Shouldn't redeclare 'transactions'. Consider to delete it or rename it.
'transactions' is defined here:
(lint/suspicious/noRedeclare)
[error] 726-726: Shouldn't redeclare 'changedTransactions'. Consider to delete it or rename it.
'changedTransactions' is defined here:
(lint/suspicious/noRedeclare)
🪛 GitHub Check: typecheck
[failure] 709-709:
Cannot redeclare block-scoped variable 'transactions'.
[failure] 712-712:
Cannot redeclare block-scoped variable 'changedTransactions'.
[failure] 722-722:
Cannot redeclare block-scoped variable 'transactions'.
[failure] 726-726:
Cannot redeclare block-scoped variable 'changedTransactions'.
🪛 GitHub Check: lint
[warning] 722-722:
'transactions' is already defined
[warning] 726-726:
'changedTransactions' is already defined
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this action will need a hotkey.