We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 95955bb + 725c88f commit 4b93df7Copy full SHA for 4b93df7
CHANGELOG.md
@@ -16,7 +16,7 @@ changes.
16
17
### Fixed
18
19
-- Fix calculating stake key balance [Issue 2653](https://github.com/IntersectMBO/govtool/issues/2653)
+- Fix usage of trim on missing label
20
21
### Changed
22
govtool/frontend/src/utils/testIdFromLabel.ts
@@ -1,2 +1,2 @@
1
export const testIdFromLabel = (label: string) =>
2
- label.trim().replace(/ /g, "-").toLocaleLowerCase();
+ label?.trim().replace(/ /g, "-").toLocaleLowerCase();
0 commit comments