This commit is contained in:
Milo Schwartz 2024-10-17 00:29:31 -04:00
commit 1bc67c191b
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,7 @@ const accountFormSchema = z.object({
type AccountFormValues = z.infer<typeof accountFormSchema>;
const defaultValues: Partial<AccountFormValues> = {
name: "Wombat",
name: "",
method: "wg"
};

View file

@ -35,7 +35,7 @@ export function SidebarNav({ className, items, disabled = false, ...props }: Sid
href={item.href.replace("{orgId}", orgId).replace("{niceId}", niceId).replace("{resourceId}", resourceId)}
className={cn(
buttonVariants({ variant: "ghost" }),
pathname === item.href.replace("{orgId}", orgId).replace("{niceId}", niceId).replace("{resourceId}", resourceId)
pathname === item.href.replace("{orgId}", orgId).replace("{niceId}", niceId).replace("{resourceId}", resourceId) && !pathname.includes("create")
? "bg-muted hover:bg-muted"
: "hover:bg-transparent hover:underline",
"justify-start",