diff --git a/app/[leaflet_id]/publish/PublishPost.tsx b/app/[leaflet_id]/publish/PublishPost.tsx index 6b0bdf15..4b890427 100644 --- a/app/[leaflet_id]/publish/PublishPost.tsx +++ b/app/[leaflet_id]/publish/PublishPost.tsx @@ -199,7 +199,11 @@ const PublishPostForm = ( className="place-self-end h-[30px]" disabled={charCount > 300} > - {isLoading ? : "Publish this Post!"} + {isLoading ? ( + + ) : ( + "Publish this Post!" + )} {oauthError && ( diff --git a/components/ActionBar/ActionButton.tsx b/components/ActionBar/ActionButton.tsx index e34992c7..17dac49e 100644 --- a/components/ActionBar/ActionButton.tsx +++ b/components/ActionBar/ActionButton.tsx @@ -72,7 +72,7 @@ export const ActionButton = (
-
{label}
+
{label}
{subtext && (
{subtext} diff --git a/components/utils/DotLoader.tsx b/components/utils/DotLoader.tsx index 233ff399..67571f22 100644 --- a/components/utils/DotLoader.tsx +++ b/components/utils/DotLoader.tsx @@ -1,6 +1,6 @@ import { useEffect, useState } from "react"; -export function DotLoader() { +export function DotLoader(props: { className?: string }) { let [dots, setDots] = useState(1); useEffect(() => { let id = setInterval(() => { @@ -11,7 +11,7 @@ export function DotLoader() { }; }, []); return ( -
+
{".".repeat(dots) + "\u00a0".repeat(3 - dots)}
);