diff --git a/app/lish/Subscribe.tsx b/app/lish/Subscribe.tsx
index eb866e40..74e14679 100644
--- a/app/lish/Subscribe.tsx
+++ b/app/lish/Subscribe.tsx
@@ -275,6 +275,7 @@ let BlueskySubscribeButton = (props: {
setSuccessModalOpen: (open: boolean) => void;
}) => {
let { identity } = useIdentityData();
+ let toaster = useToaster();
let [, subscribe, subscribePending] = useActionState(async () => {
let result = await subscribeToPublication(
props.pub_uri,
@@ -283,7 +284,9 @@ let BlueskySubscribeButton = (props: {
if (result.hasFeed === false) {
props.setSuccessModalOpen(true);
}
+ toaster({ content:
You're Subscribed!
, type: "success" });
}, null);
+
let [isClient, setIsClient] = useState(false);
useEffect(() => {
setIsClient(true);
@@ -295,12 +298,13 @@ let BlueskySubscribeButton = (props: {
asChild
trigger={
- Subscribe with Bluesky{" "}
+ Subscribe with Bluesky
}
>
{isClient && (
) : (
<>
- Subscribe with Bluesky{" "}
+ Subscribe with Bluesky
>
)}
diff --git a/app/login/LoginForm.tsx b/app/login/LoginForm.tsx
index 7966da59..4b9a5b97 100644
--- a/app/login/LoginForm.tsx
+++ b/app/login/LoginForm.tsx
@@ -16,6 +16,7 @@ import { mutate } from "swr";
export default function LoginForm(props: {
noEmail?: boolean;
+ publication?: boolean;
redirectRoute?: string;
action?: ActionAfterSignIn;
}) {
@@ -121,7 +122,9 @@ export default function LoginForm(props: {
Log In or Sign Up
- Save your Leaflets and access them on multiple devices!
+ {props.publication
+ ? "Log in to Bluesky to subscribe this publication!"
+ : "Save your Leaflets and access them on multiple devices!"}
diff --git a/components/utils/DotLoader.tsx b/components/utils/DotLoader.tsx
index 9d253378..233ff399 100644
--- a/components/utils/DotLoader.tsx
+++ b/components/utils/DotLoader.tsx
@@ -11,7 +11,7 @@ export function DotLoader() {
};
}, []);
return (
-
+
{".".repeat(dots) + "\u00a0".repeat(3 - dots)}
);