From 6b0dea084779f684e0141daff82e68c4ee39778f Mon Sep 17 00:00:00 2001 From: celine Date: Mon, 24 Nov 2025 22:00:56 +0000 Subject: [PATCH] refresh page on delete, fix text color on publish page --- actions/deleteLeaflet.ts | 2 ++ components/ActionBar/Publications.tsx | 1 + app/[leaflet_id]/publish/PublishPost.tsx | 5 ++--- 3 file(s) changed, 5 insertion(s)(+), 3 deletion(s)(-) diff --git a/actions/deleteLeaflet.ts b/actions/deleteLeaflet.ts --- a/actions/deleteLeaflet.ts +++ b/actions/deleteLeaflet.ts @@ -35,6 +35,8 @@ .where(eq(permission_tokens.id, permission_token.id)); }); client.release(); + + refresh(); return; } diff --git a/components/ActionBar/Publications.tsx b/components/ActionBar/Publications.tsx --- a/components/ActionBar/Publications.tsx +++ b/components/ActionBar/Publications.tsx @@ -105,6 +105,7 @@ side="right" align="start" className="p-1! max-w-56" + asChild trigger={ +

Publish Options

{ @@ -161,7 +161,6 @@ />
- {/*
*/}
{props.title}
{props.description}
@@ -209,7 +208,7 @@ return (
-

Published!

+

Published!