Update stale Action typings

We forgot to update them when we changed it in the backend. This also
fixes a bug in the front-end.
This commit is contained in:
Rūdolfs Ošiņš
2025-02-21 08:28:28 -06:00
parent 31b2d9a9e1
commit 83554dc4ec
2 changed files with 2 additions and 2 deletions
@@ -29,7 +29,7 @@ export type Action =
review: string;
body: string;
location?: CodeLocation;
reply_to?: string;
replyTo?: string;
embeds?: Array<Embed>;
}
| {
+1 -1
View File
@@ -311,7 +311,7 @@
</div>
<div class="wrapper">
<NodeId {...authorForNodeId(op.author)} />
{op.reply_to ? "replied to a comment" : "commented"} on review <Id
{op.replyTo ? "replied to a comment" : "commented"} on review <Id
id={op.review}
variant="oid" />
<div title={absoluteTimestamp(op.timestamp)}>