Fixed console error for SettingsWIndow & Removed ts-nocheck where not needed
Browse files- app/commit.json +1 -1
- app/components/settings/SettingsWindow.tsx +1 -1
- app/lib/.server/llm/api-key.ts +0 -4
- pre-start.cjs +1 -0
app/commit.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{ "commit": "
|
|
|
1 |
+
{ "commit": "9666b2ab67d25345542722ab9d870b36ad06252e" }
|
app/components/settings/SettingsWindow.tsx
CHANGED
@@ -63,7 +63,7 @@ export const SettingsWindow = ({ open, onClose }: SettingsProps) => {
|
|
63 |
variants={dialogBackdropVariants}
|
64 |
/>
|
65 |
</RadixDialog.Overlay>
|
66 |
-
<RadixDialog.Content asChild>
|
67 |
<motion.div
|
68 |
className="fixed top-[50%] left-[50%] z-max h-[85vh] w-[90vw] max-w-[900px] translate-x-[-50%] translate-y-[-50%] border border-bolt-elements-borderColor rounded-lg shadow-lg focus:outline-none overflow-hidden"
|
69 |
initial="closed"
|
|
|
63 |
variants={dialogBackdropVariants}
|
64 |
/>
|
65 |
</RadixDialog.Overlay>
|
66 |
+
<RadixDialog.Content aria-describedby={undefined} asChild>
|
67 |
<motion.div
|
68 |
className="fixed top-[50%] left-[50%] z-max h-[85vh] w-[90vw] max-w-[900px] translate-x-[-50%] translate-y-[-50%] border border-bolt-elements-borderColor rounded-lg shadow-lg focus:outline-none overflow-hidden"
|
69 |
initial="closed"
|
app/lib/.server/llm/api-key.ts
CHANGED
@@ -1,7 +1,3 @@
|
|
1 |
-
/*
|
2 |
-
* @ts-nocheck
|
3 |
-
* Preventing TS checks with files presented in the video for a better presentation.
|
4 |
-
*/
|
5 |
import { env } from 'node:process';
|
6 |
|
7 |
export function getAPIKey(cloudflareEnv: Env, provider: string, userApiKeys?: Record<string, string>) {
|
|
|
|
|
|
|
|
|
|
|
1 |
import { env } from 'node:process';
|
2 |
|
3 |
export function getAPIKey(cloudflareEnv: Env, provider: string, userApiKeys?: Record<string, string>) {
|
pre-start.cjs
CHANGED
@@ -7,4 +7,5 @@ console.log(`
|
|
7 |
β
ββββββββββββββββββββββββββββββββββββββββ
|
8 |
`);
|
9 |
console.log('π Current Commit Version:', commit);
|
|
|
10 |
console.log('β
ββββββββββββββββββββββββββββββββββββββββ
');
|
|
|
7 |
β
ββββββββββββββββββββββββββββββββββββββββ
|
8 |
`);
|
9 |
console.log('π Current Commit Version:', commit);
|
10 |
+
console.log(' Please wait until the URL appears here')
|
11 |
console.log('β
ββββββββββββββββββββββββββββββββββββββββ
');
|