Skip to content

Commit 87b8dbd

Browse files
committed
feat: reformat unstructured code using prettier
1 parent f74e80c commit 87b8dbd

28 files changed

+59
-59
lines changed

src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
2-
import { RouterView } from "vue-router";
3-
import { onMounted } from "vue";
42
import { useGlobalStore } from "@/stores/use-global";
3+
import { onMounted } from "vue";
4+
import { RouterView } from "vue-router";
55
66
const globalStore = useGlobalStore();
77
onMounted(function () {

src/components/RegisterForm.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<script setup lang="ts">
22
import { Button } from "@/components/ui/button";
33
import { Input } from "@/components/ui/input";
4-
import { cn } from "@/utils/classname";
5-
import { ref } from "vue";
64
import { Label } from "@/components/ui/label";
5+
import { cn } from "@/utils/classname";
76
import { Icon } from "@iconify/vue";
7+
import { ref } from "vue";
88
99
const isLoading = ref(false);
1010
async function onSubmit(event: Event) {

src/components/ui/button/Button.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<script setup lang="ts">
2-
import type { HTMLAttributes } from "vue";
2+
import { cn } from "@/utils/classname";
33
import { Primitive, type PrimitiveProps } from "radix-vue";
4+
import type { HTMLAttributes } from "vue";
45
import { type ButtonVariants, buttonVariants } from ".";
5-
import { cn } from "@/utils/classname";
66
77
interface Props extends PrimitiveProps {
88
variant?: ButtonVariants["variant"];

src/components/ui/collapsible/Collapsible.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
2-
import { CollapsibleRoot, useForwardPropsEmits } from "radix-vue";
32
import type { CollapsibleRootEmits, CollapsibleRootProps } from "radix-vue";
3+
import { CollapsibleRoot, useForwardPropsEmits } from "radix-vue";
44
55
const props = defineProps<CollapsibleRootProps>();
66
const emits = defineEmits<CollapsibleRootEmits>();

src/components/ui/dark-mode/DarkModeToggle.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<script setup lang="ts">
2-
import { useColorMode } from "@vueuse/core";
3-
import { Icon } from "@iconify/vue";
42
import { Button } from "@/components/ui/button";
53
import {
64
DropdownMenu,
75
DropdownMenuContent,
86
DropdownMenuItem,
97
DropdownMenuTrigger,
108
} from "@/components/ui/dropdown-menu";
9+
import { Icon } from "@iconify/vue";
10+
import { useColorMode } from "@vueuse/core";
1111
1212
const mode = useColorMode();
1313
</script>

src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<script setup lang="ts">
2-
import { type HTMLAttributes, computed } from "vue";
2+
import { cn } from "@/utils/classname";
3+
import { Icon } from "@iconify/vue";
34
import {
45
DropdownMenuCheckboxItem,
56
type DropdownMenuCheckboxItemEmits,
67
type DropdownMenuCheckboxItemProps,
78
DropdownMenuItemIndicator,
89
useForwardPropsEmits,
910
} from "radix-vue";
10-
import { cn } from "@/utils/classname";
11-
import { Icon } from "@iconify/vue";
11+
import { type HTMLAttributes, computed } from "vue";
1212
1313
const props = defineProps<DropdownMenuCheckboxItemProps & { class?: HTMLAttributes["class"] }>();
1414
const emits = defineEmits<DropdownMenuCheckboxItemEmits>();

src/components/ui/dropdown-menu/DropdownMenuContent.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<script setup lang="ts">
2-
import { type HTMLAttributes, computed } from "vue";
2+
import { cn } from "@/utils/classname";
33
import {
44
DropdownMenuContent,
55
type DropdownMenuContentEmits,
66
type DropdownMenuContentProps,
77
DropdownMenuPortal,
88
useForwardPropsEmits,
99
} from "radix-vue";
10-
import { cn } from "@/utils/classname";
10+
import { type HTMLAttributes, computed } from "vue";
1111
1212
const props = withDefaults(
1313
defineProps<DropdownMenuContentProps & { class?: HTMLAttributes["class"] }>(),

src/components/ui/dropdown-menu/DropdownMenuItem.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
2-
import { type HTMLAttributes, computed } from "vue";
3-
import { DropdownMenuItem, type DropdownMenuItemProps, useForwardProps } from "radix-vue";
42
import { cn } from "@/utils/classname";
3+
import { DropdownMenuItem, type DropdownMenuItemProps, useForwardProps } from "radix-vue";
4+
import { type HTMLAttributes, computed } from "vue";
55
66
const props = defineProps<
77
DropdownMenuItemProps & { class?: HTMLAttributes["class"]; inset?: boolean }

src/components/ui/dropdown-menu/DropdownMenuLabel.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
2-
import { type HTMLAttributes, computed } from "vue";
3-
import { DropdownMenuLabel, type DropdownMenuLabelProps, useForwardProps } from "radix-vue";
42
import { cn } from "@/utils/classname";
3+
import { DropdownMenuLabel, type DropdownMenuLabelProps, useForwardProps } from "radix-vue";
4+
import { type HTMLAttributes, computed } from "vue";
55
66
const props = defineProps<
77
DropdownMenuLabelProps & { class?: HTMLAttributes["class"]; inset?: boolean }

src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<script setup lang="ts">
2-
import { type HTMLAttributes, computed } from "vue";
2+
import { cn } from "@/utils/classname";
3+
import { Icon } from "@iconify/vue";
34
import {
45
DropdownMenuItemIndicator,
56
DropdownMenuRadioItem,
67
type DropdownMenuRadioItemEmits,
78
type DropdownMenuRadioItemProps,
89
useForwardPropsEmits,
910
} from "radix-vue";
10-
import { cn } from "@/utils/classname";
11-
import { Icon } from "@iconify/vue";
11+
import { type HTMLAttributes, computed } from "vue";
1212
1313
const props = defineProps<DropdownMenuRadioItemProps & { class?: HTMLAttributes["class"] }>();
1414

0 commit comments

Comments
 (0)