diff --git a/.prettierrc.json b/.prettierrc.json
index dc83e07..2f00337 100644
--- a/.prettierrc.json
+++ b/.prettierrc.json
@@ -3,6 +3,5 @@
"useTabs": true,
"trailingComma": "all",
"arrowParens": "always",
- "vueIndentScriptAndStyle": true,
- "editorconfig": true
+ "vueIndentScriptAndStyle": true
}
diff --git a/app.vue b/app.vue
index a14aada..046a716 100644
--- a/app.vue
+++ b/app.vue
@@ -1,14 +1,11 @@
-
-
+
+
- import { log } from "@server/logger";
- import { MenuProps } from "ant-design-vue";
-
const { data, status } = useAuth();
const itemMap = ref({
home: "/",
@@ -18,11 +15,7 @@
admin: "/admin",
logout: "/auth/logout",
});
- let cur = ref(
- Object.keys(itemMap.value).find(
- (a) => itemMap.value[a] === useRoute().path,
- ) || useRoute().path,
- );
+ let cur = ref(Object.keys(itemMap.value).find((a) => itemMap.value[a] === useRoute().path) || useRoute().path);
let selected: string[] = [cur.value];
const clickFn = (minfo) => {
@@ -61,18 +54,11 @@
Manage Reviews
Private Messages
-
- Admin
-
+ Admin
Logout
-
navigateTo('/new-story')"
- >
+ navigateTo('/new-story')">
@@ -80,16 +66,8 @@
-
navigateTo('/auth/login')">
- Login
-
-
navigateTo('/auth/register')"
- >
- Register
-
+
navigateTo('/auth/login')"> Login
+
navigateTo('/auth/register')"> Register
diff --git a/components/layouts/sidebar.vue b/components/layouts/sidebar.vue
index 1183ef0..9f0ac35 100644
--- a/components/layouts/sidebar.vue
+++ b/components/layouts/sidebar.vue
@@ -1,12 +1,9 @@
@@ -36,26 +25,16 @@
{{ story.title }}
-
- You'll need to log in to read this story. Register if you don't
- already have an account -- it's free!
-
+ You'll need to log in to read this story. Register if you don't already have an account -- it's free!
-