@@ -24,7 +24,7 @@ import { toast } from "@/components/ui/toast"
24
24
import { fetchClient } from "@/lib/fetch"
25
25
import { useModel } from "@/lib/model-store/provider"
26
26
import { cn } from "@/lib/utils"
27
- import { KeyIcon , PlusIcon } from "@phosphor-icons/react"
27
+ import { PlusIcon } from "@phosphor-icons/react"
28
28
import { useMutation , useQueryClient } from "@tanstack/react-query"
29
29
import { Loader2 , Trash2 } from "lucide-react"
30
30
import { useState } from "react"
@@ -232,24 +232,19 @@ export function ByokSection() {
232
232
Your keys are stored securely with end-to-end encryption.
233
233
</ p >
234
234
235
- < div className = "mt-4 grid grid-cols-2 gap-3 min-[400px]:grid-cols-3 min-[500px]:grid-cols-4 " >
235
+ < div className = "mt-4 grid grid-cols-4 gap-3" >
236
236
{ PROVIDERS . map ( ( provider ) => (
237
237
< button
238
238
key = { provider . id }
239
239
type = "button"
240
240
onClick = { ( ) => setSelectedProvider ( provider . id ) }
241
241
className = { cn (
242
- "relative flex aspect-square min-w-28 flex-col items-center justify-center gap-2 rounded-lg border p-4" ,
242
+ "flex aspect-square min-w-28 flex-col items-center justify-center gap-2 rounded-lg border p-4" ,
243
243
selectedProvider === provider . id
244
244
? "border-primary ring-primary/30 ring-2"
245
245
: "border-border"
246
246
) }
247
247
>
248
- { userKeyStatus [ provider . id ] && (
249
- < span className = "absolute top-1 right-1 rounded-sm bg-green-200 p-1" >
250
- < KeyIcon className = "size-3.5 text-green-800" />
251
- </ span >
252
- ) }
253
248
< provider . icon className = "size-4" />
254
249
< span > { provider . name } </ span >
255
250
</ button >
0 commit comments