diff --git a/packages/app/src/Element/AsyncButton.tsx b/packages/app/src/Element/AsyncButton.tsx index c130ab2f..3e6f16a5 100644 --- a/packages/app/src/Element/AsyncButton.tsx +++ b/packages/app/src/Element/AsyncButton.tsx @@ -8,25 +8,19 @@ interface AsyncButtonProps extends React.ButtonHTMLAttributes } interface LoaderProps { - className: string + className: string; } -const Loader = ({ className }: LoaderProps ) => ( +const Loader = ({ className }: LoaderProps) => (
- +
-) +); export default function AsyncButton(props: AsyncButtonProps) { const [loading, setLoading] = useState(false); @@ -48,7 +42,7 @@ export default function AsyncButton(props: AsyncButtonProps) { return ( ); diff --git a/packages/app/src/Pages/settings/Profile.tsx b/packages/app/src/Pages/settings/Profile.tsx index 3ff9f30d..6fda55b9 100644 --- a/packages/app/src/Pages/settings/Profile.tsx +++ b/packages/app/src/Pages/settings/Profile.tsx @@ -16,7 +16,7 @@ import { HexKey } from "@snort/nostr"; import useFileUpload from "Upload"; import messages from "./messages"; -import AsyncButton from '../../Element/AsyncButton'; +import AsyncButton from "../../Element/AsyncButton"; export interface ProfileSettingsProps { avatar?: boolean;