diff --git a/components/composer/modal.vue b/components/composer/modal.vue
index 1e0ba3f..7ecb889 100644
--- a/components/composer/modal.vue
+++ b/components/composer/modal.vue
@@ -37,11 +37,13 @@ useListen("note:quote", async (note) => {
useEvent("composer:quote", note);
});
useListen("composer:open", () => {
- open.value = true;
+ if (tokenData.value)
+ open.value = true;
});
useListen("composer:close", () => {
open.value = false;
});
const client = useMegalodon();
+const tokenData = useTokenData();
const instance = useInstance(client);
\ No newline at end of file
diff --git a/components/social-elements/notes/note-content.vue b/components/social-elements/notes/note-content.vue
new file mode 100644
index 0000000..d65f645
--- /dev/null
+++ b/components/social-elements/notes/note-content.vue
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ This note was tagged as containing sensitive
+ content
+
+ {{ note.spoiler_text
+ }}
+ Show content
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/social-elements/notes/note.vue b/components/social-elements/notes/note.vue
index 6438863..99840ae 100644
--- a/components/social-elements/notes/note.vue
+++ b/components/social-elements/notes/note.vue
@@ -13,36 +13,11 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- This note was tagged as containing sensitive
- content
-
- {{ note.spoiler_text
- }}
- Show content
-
+
+ class="mt-6 flex flex-row items-stretch disabled:*:opacity-70 [&>button]:max-w-28 disabled:*:cursor-not-allowed relative justify-around text-sm h-10 hover:enabled:[&>button]:bg-dark-800 [&>button]:duration-200 [&>button]:rounded [&>button]:flex [&>button]:flex-1 [&>button]:flex-row [&>button]:items-center [&>button]:justify-center">