Skip to content

An AI-powered search engine with a generative UI

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.tsx
index 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)
}
}