Skip to content

Commit b30e82b

Browse files
[autofix.ci] apply automated fixes
1 parent 934300c commit b30e82b

File tree

7 files changed

+18
-20
lines changed

7 files changed

+18
-20
lines changed

ui/src/components/ProviderName.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<script setup lang="ts">
22
import type { Provider } from '@/lib/providers'
3-
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'
43
54
defineProps<{
65
provider: Provider

ui/src/components/ProvidersSection.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import { useI18n } from 'vue-i18n'
55
import ManualConfigCard from '@/components/ManualConfigCard.vue'
66
import ProviderConfigDialog from '@/components/ProviderConfigDialog.vue'
77
import ProviderName from '@/components/ProviderName.vue'
8-
import { Button } from '@/components/ui/button'
9-
import { Card, CardContent, CardFooter, CardHeader, CardTitle } from '@/components/ui/card'
8+
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'
109
import { useProviders } from '@/lib/providers'
1110
1211
const { t } = useI18n()

ui/src/components/ui/avatar/Avatar.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<script setup lang="ts">
2-
import type { HTMLAttributes } from "vue"
3-
import { AvatarRoot } from "reka-ui"
4-
import { cn } from "@/lib/utils"
2+
import type { HTMLAttributes } from 'vue'
3+
import { AvatarRoot } from 'reka-ui'
4+
import { cn } from '@/lib/utils'
55
66
const props = defineProps<{
7-
class?: HTMLAttributes["class"]
7+
class?: HTMLAttributes['class']
88
}>()
99
</script>
1010

ui/src/components/ui/avatar/AvatarFallback.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<script setup lang="ts">
2-
import type { AvatarFallbackProps } from "reka-ui"
3-
import type { HTMLAttributes } from "vue"
4-
import { reactiveOmit } from "@vueuse/core"
5-
import { AvatarFallback } from "reka-ui"
6-
import { cn } from "@/lib/utils"
2+
import type { AvatarFallbackProps } from 'reka-ui'
3+
import type { HTMLAttributes } from 'vue'
4+
import { reactiveOmit } from '@vueuse/core'
5+
import { AvatarFallback } from 'reka-ui'
6+
import { cn } from '@/lib/utils'
77
8-
const props = defineProps<AvatarFallbackProps & { class?: HTMLAttributes["class"] }>()
8+
const props = defineProps<AvatarFallbackProps & { class?: HTMLAttributes['class'] }>()
99
10-
const delegatedProps = reactiveOmit(props, "class")
10+
const delegatedProps = reactiveOmit(props, 'class')
1111
</script>
1212

1313
<template>

ui/src/components/ui/avatar/AvatarImage.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
2-
import type { AvatarImageProps } from "reka-ui"
3-
import { AvatarImage } from "reka-ui"
2+
import type { AvatarImageProps } from 'reka-ui'
3+
import { AvatarImage } from 'reka-ui'
44
55
const props = defineProps<AvatarImageProps>()
66
</script>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export { default as Avatar } from "./Avatar.vue"
2-
export { default as AvatarFallback } from "./AvatarFallback.vue"
3-
export { default as AvatarImage } from "./AvatarImage.vue"
1+
export { default as Avatar } from './Avatar.vue'
2+
export { default as AvatarFallback } from './AvatarFallback.vue'
3+
export { default as AvatarImage } from './AvatarImage.vue'

ui/src/lib/providers/siliconflow/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export const useSiliconFlowProvider = defineProvider(() => {
107107
balance: {
108108
amount: json.data.balance,
109109
currency: 'CNY',
110-
}
110+
},
111111
}
112112
}
113113
},

0 commit comments

Comments
 (0)