Skip to content

Commit f51e045

Browse files
authored
Revert "chore: add key status indicator & responsive adjustments (ibelick#251)"
This reverts commit 4ed0e34.
1 parent 4ed0e34 commit f51e045

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

app/components/layout/settings/apikeys/byok-section.tsx

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { toast } from "@/components/ui/toast"
2424
import { fetchClient } from "@/lib/fetch"
2525
import { useModel } from "@/lib/model-store/provider"
2626
import { cn } from "@/lib/utils"
27-
import { KeyIcon, PlusIcon } from "@phosphor-icons/react"
27+
import { PlusIcon } from "@phosphor-icons/react"
2828
import { useMutation, useQueryClient } from "@tanstack/react-query"
2929
import { Loader2, Trash2 } from "lucide-react"
3030
import { useState } from "react"
@@ -232,24 +232,19 @@ export function ByokSection() {
232232
Your keys are stored securely with end-to-end encryption.
233233
</p>
234234

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">
236236
{PROVIDERS.map((provider) => (
237237
<button
238238
key={provider.id}
239239
type="button"
240240
onClick={() => setSelectedProvider(provider.id)}
241241
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",
243243
selectedProvider === provider.id
244244
? "border-primary ring-primary/30 ring-2"
245245
: "border-border"
246246
)}
247247
>
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-
)}
253248
<provider.icon className="size-4" />
254249
<span>{provider.name}</span>
255250
</button>

0 commit comments

Comments
 (0)