From a5326a67e37d9f1aee740f7b3d46345f3bcda419 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Wed, 9 Jul 2025 23:29:06 -0400 Subject: Factor data-to-JSON-string construction out of stitches. This is a recurring and nameable operation; let's give it a name before we use it further. --- .../(swatch)/.swatch/ConversationList/+page.svelte | 32 ++++++++++------------ ui/routes/(swatch)/.swatch/Invites/+page.svelte | 8 ++---- .../(swatch)/.swatch/swatch/EventLog/+page.svelte | 13 ++++----- 3 files changed, 23 insertions(+), 30 deletions(-) (limited to 'ui/routes/(swatch)') diff --git a/ui/routes/(swatch)/.swatch/ConversationList/+page.svelte b/ui/routes/(swatch)/.swatch/ConversationList/+page.svelte index ef0c8a9..b0bc97a 100644 --- a/ui/routes/(swatch)/.swatch/ConversationList/+page.svelte +++ b/ui/routes/(swatch)/.swatch/ConversationList/+page.svelte @@ -1,27 +1,23 @@ diff --git a/ui/routes/(swatch)/.swatch/Invites/+page.svelte b/ui/routes/(swatch)/.swatch/Invites/+page.svelte index 8c24627..bc4bdb1 100644 --- a/ui/routes/(swatch)/.swatch/Invites/+page.svelte +++ b/ui/routes/(swatch)/.swatch/Invites/+page.svelte @@ -1,14 +1,12 @@