-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: reset resolved kpi tokens array when switching network in campai…
…gns page (#441) * fix(react): reset result array when fetching a new batch in use resolved kpi tokens hook * chore: add changeset --------- Co-authored-by: luzzifoss <fedeluzzi00@gmail.com>
- Loading branch information
Showing
2 changed files
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@carrot-kpi/react": patch | ||
--- | ||
|
||
Reset result array before filling it again in useResolvedKPITokens hook (it | ||
avoids resolved KPI tokens accumulation) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters