+
+
+ Are you sure!
+
+
+ You can always log back in at any time. If you just want to switch
+ accounts, you can do that by adding an existing account.
+
-
-
-
+
+
+
Cancel
- logout()}
- className="inline-flex h-9 items-center justify-center rounded-md bg-red-500 px-3 text-sm font-medium text-white hover:bg-red-600"
- >
- Confirm
-
-
+
+ logout()}
+ className="inline-flex h-9 items-center justify-center rounded-md bg-white/10 px-4 text-sm font-medium leading-none text-white outline-none hover:bg-fuchsia-500"
+ >
+ Logout
+
-
-
-
+
+
+
);
}
diff --git a/src/shared/notes/actions/repost.tsx b/src/shared/notes/actions/repost.tsx
index 4389d7e6..9ac24ad1 100644
--- a/src/shared/notes/actions/repost.tsx
+++ b/src/shared/notes/actions/repost.tsx
@@ -46,26 +46,26 @@ export function NoteRepost({ id, pubkey }: { id: string; pubkey: string }) {
-
+
Confirm repost this post?
-
+
Reposted post will be visible to your followers, and you cannot undo this
action.
-
+
-
+
Cancel
submit()}
- className="inline-flex h-11 items-center justify-center rounded-lg bg-fuchsia-500 px-4 font-medium leading-none text-white outline-none"
+ className="inline-flex h-9 items-center justify-center rounded-md bg-white/10 px-4 text-sm font-medium leading-none text-white outline-none hover:bg-fuchsia-500"
>
Yes, repost
diff --git a/src/stores/stronghold.ts b/src/stores/stronghold.ts
index db8ddd55..ca681474 100644
--- a/src/stores/stronghold.ts
+++ b/src/stores/stronghold.ts
@@ -4,6 +4,7 @@ import { createJSONStorage, persist } from 'zustand/middleware';
interface StrongholdState {
privkey: null | string;
setPrivkey: (privkey: string) => void;
+ clearPrivkey: () => void;
}
export const useStronghold = create
()(
@@ -13,6 +14,9 @@ export const useStronghold = create()(
setPrivkey: (privkey: string) => {
set({ privkey: privkey });
},
+ clearPrivkey: () => {
+ set({ privkey: null });
+ },
}),
{
name: 'stronghold',