From 7562ae2c77d0ea9db06fcb16688de101fe0d9140 Mon Sep 17 00:00:00 2001 From: codytseng Date: Fri, 5 Sep 2025 23:07:52 +0800 Subject: [PATCH] revert --- src/components/PostEditor/PostContent.tsx | 2 ++ src/services/post-editor-cache.service.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/src/components/PostEditor/PostContent.tsx b/src/components/PostEditor/PostContent.tsx index 031aa8b..089061e 100644 --- a/src/components/PostEditor/PostContent.tsx +++ b/src/components/PostEditor/PostContent.tsx @@ -82,6 +82,7 @@ export default function PostContent({ relays: [] } ) + setSpecifiedRelayUrls(cachedSettings.specifiedRelayUrls) setAddClientTag(cachedSettings.addClientTag ?? false) } return @@ -92,6 +93,7 @@ export default function PostContent({ isNsfw, isPoll, pollCreateData, + specifiedRelayUrls, addClientTag } ) diff --git a/src/services/post-editor-cache.service.ts b/src/services/post-editor-cache.service.ts index f2ac915..5604d1b 100644 --- a/src/services/post-editor-cache.service.ts +++ b/src/services/post-editor-cache.service.ts @@ -6,6 +6,7 @@ type TPostSettings = { isNsfw?: boolean isPoll?: boolean pollCreateData?: TPollCreateData + specifiedRelayUrls?: string[] addClientTag?: boolean }