Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ changes.
### Fixed

- Fix missing off chain references in DRep details [Issue 3490](https://github.com/IntersectMBO/govtool/issues/3490)
- Fix blank screen and type error on linkReferences when navigating to edit dRep page that has no links [Issue 3714](https://github.com/IntersectMBO/govtool/issues/3714)

### Changed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ export const EditDRepForm = ({
qualifications: data?.qualifications ?? "",
paymentAddress: data?.paymentAddress ?? "",
image: data?.image ?? "",
linkReferences: data.linkReferences ?? [getEmptyReference("Link")],
identityReferences: data.identityReferences ?? [
linkReferences: data?.linkReferences ?? [getEmptyReference("Link")],
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previously there was an optional chaining operator, which we missed.
image

identityReferences: data?.identityReferences ?? [
getEmptyReference("Identity"),
],
});
Expand Down