From 83554dc4ecbd889ba3928c4943e15592a6ea3b8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Fri, 21 Feb 2025 08:28:28 -0600 Subject: [PATCH] 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. --- crates/radicle-types/bindings/cob/patch/Action.ts | 2 +- src/components/PatchTimeline.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/radicle-types/bindings/cob/patch/Action.ts b/crates/radicle-types/bindings/cob/patch/Action.ts index f2d77dff9..42207a5f6 100644 --- a/crates/radicle-types/bindings/cob/patch/Action.ts +++ b/crates/radicle-types/bindings/cob/patch/Action.ts @@ -29,7 +29,7 @@ export type Action = review: string; body: string; location?: CodeLocation; - reply_to?: string; + replyTo?: string; embeds?: Array; } | { diff --git a/src/components/PatchTimeline.svelte b/src/components/PatchTimeline.svelte index b573e8095..fc3eabc6e 100644 --- a/src/components/PatchTimeline.svelte +++ b/src/components/PatchTimeline.svelte @@ -311,7 +311,7 @@
- {op.reply_to ? "replied to a comment" : "commented"} on review