Skip to content

Commit

Permalink
chore: migrate from tslint to eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethaasan committed Apr 23, 2024
1 parent 149cee1 commit b939d54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/src/containers/Sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,9 @@ const OperationsList: React.FunctionComponent = () => {
if (version === 0) {
// old version uses different labels for the operations
const operationChannels = operationChannel.all();
const channelAddress = operationChannels[0]?.address();
const channelAddress = operationChannels[0]?.address() ?? '';
const operationSummary = operation.summary();
label = operationSummary ? operationSummary : channelAddress ?? '';
label = operationSummary ? operationSummary : channelAddress;
} else {
label = operation.id() ?? '';
}
Expand Down

0 comments on commit b939d54

Please sign in to comment.