Skip to content

Commit

Permalink
Fixed console error for SettingsWIndow & Removed ts-nocheck where not…
Browse files Browse the repository at this point in the history
… needed
  • Loading branch information
kris1803 committed Dec 13, 2024
1 parent 9666b2a commit 2064c83
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/commit.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "commit": "55094392cf4c5bc607aff796680ad50236a4cf20" }
{ "commit": "9666b2ab67d25345542722ab9d870b36ad06252e" }
2 changes: 1 addition & 1 deletion app/components/settings/SettingsWindow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const SettingsWindow = ({ open, onClose }: SettingsProps) => {
variants={dialogBackdropVariants}
/>
</RadixDialog.Overlay>
<RadixDialog.Content asChild>
<RadixDialog.Content aria-describedby={undefined} asChild>
<motion.div
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"
initial="closed"
Expand Down
4 changes: 0 additions & 4 deletions app/lib/.server/llm/api-key.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* @ts-nocheck
* Preventing TS checks with files presented in the video for a better presentation.
*/
import { env } from 'node:process';

export function getAPIKey(cloudflareEnv: Env, provider: string, userApiKeys?: Record<string, string>) {
Expand Down
1 change: 1 addition & 0 deletions pre-start.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ console.log(`
★═══════════════════════════════════════★
`);
console.log('📍 Current Commit Version:', commit);
console.log(' Please wait until the URL appears here')
console.log('★═══════════════════════════════════════★');

0 comments on commit 2064c83

Please sign in to comment.