[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2025-10-31 14:53:42 +00:00
committed by GitHub
parent a14cc09933
commit 856b6ceec6
+19 -17
View File
@@ -644,9 +644,7 @@ function SidebarLogo() {
}) })
.then(() => { .then(() => {
refetch(); refetch();
toast.success( toast.success("Default organization updated");
"Default organization updated",
);
}) })
.catch((error) => { .catch((error) => {
toast.error( toast.error(
@@ -655,21 +653,25 @@ function SidebarLogo() {
); );
}); });
}} }}
title={org.isDefault ? "Default organization" : "Set as default"} title={
org.isDefault
? "Default organization"
: "Set as default"
}
> >
{org.isDefault ? ( {org.isDefault ? (
<Star <Star
fill="#eab308" fill="#eab308"
stroke="#eab308" stroke="#eab308"
className="size-4 text-yellow-500" className="size-4 text-yellow-500"
/> />
) : ( ) : (
<Star <Star
fill="none" fill="none"
stroke="currentColor" stroke="currentColor"
className="size-4 text-gray-400 group-hover:text-blue-500 transition-colors" className="size-4 text-gray-400 group-hover:text-blue-500 transition-colors"
/> />
)} )}
</Button> </Button>
<AddOrganization organizationId={org.id} /> <AddOrganization organizationId={org.id} />
<DialogAction <DialogAction