An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
style: apply prettier formatting to chat-artifact-container.tsx
Yoshiki Miurae6c38f459602
diff --git a/components/artifact/chat-artifact-container.tsx b/components/artifact/chat-artifact-container.tsxindex d4cc4211..c68c1b13 100644--- a/components/artifact/chat-artifact-container.tsx+++ b/components/artifact/chat-artifact-container.tsx@@ -32,7 +32,11 @@ export function ChatArtifactContainer({const savedWidth = localStorage.getItem('artifactPanelWidth')if (savedWidth) {const parsedWidth = parseInt(savedWidth, 10)- if (!isNaN(parsedWidth) && parsedWidth >= MIN_WIDTH && parsedWidth <= MAX_WIDTH) {+ if (+ !isNaN(parsedWidth) &&+ parsedWidth >= MIN_WIDTH &&+ parsedWidth <= MAX_WIDTH+ ) {setWidth(parsedWidth)}}