diff --git a/actions/deleteLeaflet.ts b/actions/deleteLeaflet.ts index 5302b5c4..55534656 100644 --- a/actions/deleteLeaflet.ts +++ b/actions/deleteLeaflet.ts @@ -35,6 +35,8 @@ export async function deleteLeaflet(permission_token: PermissionToken) { .where(eq(permission_tokens.id, permission_token.id)); }); client.release(); + + refresh(); return; } diff --git a/app/[leaflet_id]/publish/PublishPost.tsx b/app/[leaflet_id]/publish/PublishPost.tsx index 570dfd4a..52ac63e9 100644 --- a/app/[leaflet_id]/publish/PublishPost.tsx +++ b/app/[leaflet_id]/publish/PublishPost.tsx @@ -94,7 +94,7 @@ const PublishPostForm = ( } return ( -
+

Publish Options

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

Published!

+

Published!

{ side="right" align="start" className="p-1! max-w-56" + asChild trigger={