Skip to content

Commit

Permalink
style: format
Browse files Browse the repository at this point in the history
  • Loading branch information
syusui-s committed Nov 28, 2024
1 parent 748dc01 commit 8e71c75
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/nostr/identifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export type ReplaceableEventIdentifier = {
export const replaceableEventIdentifier = (identifier: ReplaceableEventIdentifier): string => {
if (identifier.identifier != null) {
return `${identifier.kind}:${identifier.pubkey}:${identifier.identifier}`;
}
return `${identifier.kind}:${identifier.pubkey}`;

}
return `${identifier.kind}:${identifier.pubkey}`;
};

0 comments on commit 8e71c75

Please sign in to comment.