+
{
- fetchSnippets();
+onMounted(async () => {
+ await fetchSnippets();
});
@@ -36,7 +36,7 @@ onMounted(() => {
:code="snippet.code"
:title="snippet.title"
:description="snippet.description"
- :tag="snippet.tags"
+ :tags="snippet.tags"
/>
diff --git a/src/views/ShowSnippetView.vue b/src/views/ShowSnippetView.vue
index d13abad..b5fefbd 100644
--- a/src/views/ShowSnippetView.vue
+++ b/src/views/ShowSnippetView.vue
@@ -1,10 +1,12 @@
@@ -67,11 +76,17 @@ onMounted(async () => {
class="relative bg-background px-6 py-12 sm:rounded-xl sm:px-12 shadow-neumorphic"
>
+