Skip to content

Commit 3b9caf2

Browse files
committed
chore: fix build
1 parent ade8e8f commit 3b9caf2

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

src/components/generate-types-dialog.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,7 @@ function GenerateTypesContent() {
9494
}),
9595
);
9696

97-
// Fetch SDK keys for the selected environment to get a valid SDK key for usage example
98-
const {data: sdkKeysData} = useQuery(
99-
trpc.getSdkKeyList.queryOptions({
100-
projectId,
101-
environmentId: selectedEnvironmentId,
102-
}),
103-
);
104-
105-
const sdkKey = sdkKeysData?.sdkKeys[0]?.key ?? 'your-project-sdk-key-here';
97+
const sdkKey = 'your-sdk-key-here';
10698
const baseUrl =
10799
typeof window !== 'undefined' ? window.location.origin : 'https://replane.your-domain.com';
108100

0 commit comments

Comments
 (0)