Skip to content

Commit ab2d71d

Browse files
committed
fix deps
1 parent 8fa1588 commit ab2d71d

File tree

4 files changed

+24
-12
lines changed

4 files changed

+24
-12
lines changed

apps/dashboard/app/(main)/organizations/settings/api-keys/api-key-settings.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ import type { Organization } from "@/hooks/use-organizations";
1717
import { orpc } from "@/lib/orpc";
1818
import { ApiKeyRow } from "./api-key-row";
1919

20-
interface ApiKeySettingsProps {
20+
type ApiKeySettingsProps = {
2121
organization: Organization;
22-
}
22+
};
2323

2424
function SkeletonRow() {
2525
return (
@@ -102,8 +102,12 @@ export function ApiKeySettings({ organization }: ApiKeySettingsProps) {
102102
const activeCount = items.filter((k) => k.enabled && !k.revokedAt).length;
103103
const isEmpty = items.length === 0;
104104

105-
if (isLoading) return <ApiKeysSkeleton />;
106-
if (isError) return <ErrorState onRetry={refetch} />;
105+
if (isLoading) {
106+
return <ApiKeysSkeleton />;
107+
}
108+
if (isError) {
109+
return <ErrorState onRetry={refetch} />;
110+
}
107111

108112
return (
109113
<>

apps/dashboard/app/(main)/organizations/settings/danger/transfer-assets.tsx

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ import { useWebsiteTransfer } from "@/hooks/use-website-transfer";
1616
import type { Website } from "@/hooks/use-websites";
1717
import { cn } from "@/lib/utils";
1818

19-
interface WebsiteItemProps {
19+
type WebsiteItemProps = {
2020
website: Website;
2121
selected: boolean;
2222
onClick: () => void;
23-
}
23+
};
2424

2525
function WebsiteItem({ website, selected, onClick }: WebsiteItemProps) {
2626
return (
@@ -55,7 +55,11 @@ function WebsiteItem({ website, selected, onClick }: WebsiteItemProps) {
5555
);
5656
}
5757

58-
function EmptyList({ label }: { label: string }) {
58+
type EmptyListProps = {
59+
label: string;
60+
};
61+
62+
function EmptyList({ label }: EmptyListProps) {
5963
return (
6064
<div className="flex flex-col items-center justify-center py-8 text-center">
6165
<GlobeIcon className="mb-2 text-muted-foreground/50" size={24} />
@@ -84,7 +88,11 @@ function LoadingSkeleton() {
8488
);
8589
}
8690

87-
export function TransferAssets({ organizationId }: { organizationId: string }) {
91+
type TransferAssetsProps = {
92+
organizationId: string;
93+
};
94+
95+
export function TransferAssets({ organizationId }: TransferAssetsProps) {
8896
const {
8997
personalWebsites,
9098
organizationWebsites,

apps/dashboard/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@databuddy/shared": "workspace:*",
1919
"@hello-pangea/dnd": "^18.0.1",
2020
"@hookform/resolvers": "^5.2.2",
21-
"@phosphor-icons/react": "catalog:",
21+
"@phosphor-icons/react": "^2.1.10",
2222
"@radix-ui/react-avatar": "^1.1.10",
2323
"@radix-ui/react-collapsible": "^1.1.12",
2424
"@radix-ui/react-dialog": "catalog:",
@@ -31,7 +31,7 @@
3131
"@radix-ui/react-slot": "catalog:",
3232
"@radix-ui/react-tooltip": "^1.2.8",
3333
"@radix-ui/react-use-controllable-state": "^1.2.2",
34-
"@tanstack/react-query": "catalog:",
34+
"@tanstack/react-query": "^5.90.11",
3535
"@tanstack/react-table": "^8.21.3",
3636
"@types/d3-scale": "^4.0.9",
3737
"@types/geojson": "^7946.0.16",

bun.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
"@databuddy/shared": "workspace:*",
188188
"@hello-pangea/dnd": "^18.0.1",
189189
"@hookform/resolvers": "^5.2.2",
190-
"@phosphor-icons/react": "catalog:",
190+
"@phosphor-icons/react": "^2.1.10",
191191
"@radix-ui/react-avatar": "^1.1.10",
192192
"@radix-ui/react-collapsible": "^1.1.12",
193193
"@radix-ui/react-dialog": "catalog:",
@@ -200,7 +200,7 @@
200200
"@radix-ui/react-slot": "catalog:",
201201
"@radix-ui/react-tooltip": "^1.2.8",
202202
"@radix-ui/react-use-controllable-state": "^1.2.2",
203-
"@tanstack/react-query": "catalog:",
203+
"@tanstack/react-query": "^5.90.11",
204204
"@tanstack/react-table": "^8.21.3",
205205
"@types/d3-scale": "^4.0.9",
206206
"@types/geojson": "^7946.0.16",

0 commit comments

Comments
 (0)