We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ade8e8f commit 3b9caf2Copy full SHA for 3b9caf2
1 file changed
src/components/generate-types-dialog.tsx
@@ -94,15 +94,7 @@ function GenerateTypesContent() {
94
}),
95
);
96
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';
+ const sdkKey = 'your-sdk-key-here';
106
const baseUrl =
107
typeof window !== 'undefined' ? window.location.origin : 'https://replane.your-domain.com';
108
0 commit comments