Skip to content

Commit 666d159

Browse files
[autofix.ci] apply automated fixes
1 parent a034248 commit 666d159

File tree

7 files changed

+8384
-10417
lines changed

7 files changed

+8384
-10417
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ Still on progress
44

55
CodeFox
66
LOGO
7-
![](./assets/WechatIMG1000.svg)
7+
![](./assets/WechatIMG1000.svg)

frontend/.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"extends": "next/core-web-vitals",
3-
"ignorePatterns": ["src/graphql/type.ts","src/graphql/**/*"]
3+
"ignorePatterns": ["src/graphql/type.ts", "src/graphql/**/*"]
44
}

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,4 @@
8383
"ts-node": "^10.9.2",
8484
"typescript": "^5.6.2"
8585
}
86-
}
86+
}

frontend/src/components/chat/chat-layout.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
"use client";
2-
import React, { useEffect, useState, Dispatch, SetStateAction } from "react";
1+
'use client';
2+
import React, { useEffect, useState, Dispatch, SetStateAction } from 'react';
33
import {
44
ResizableHandle,
55
ResizablePanel,
66
ResizablePanelGroup,
7-
} from "@/components/ui/resizable";
8-
import { cn } from "@/lib/utils";
9-
import { Sidebar } from "../sidebar";
10-
import Chat from "./chat";
11-
import { Message } from "../types";
7+
} from '@/components/ui/resizable';
8+
import { cn } from '@/lib/utils';
9+
import { Sidebar } from '../sidebar';
10+
import Chat from './chat';
11+
import { Message } from '../types';
1212

1313
interface ChatLayoutProps {
1414
defaultLayout?: number[];
@@ -55,7 +55,7 @@ export function ChatLayout({
5555
setIsMobile(window.innerWidth <= 1023);
5656
};
5757
checkScreenWidth();
58-
window.addEventListener("resize", checkScreenWidth);
58+
window.addEventListener('resize', checkScreenWidth);
5959
return () => {
6060
window.removeEventListener('resize', checkScreenWidth);
6161
};

frontend/src/components/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export interface Message {
22
id: string;
3-
role: "user" | "assistant";
3+
role: 'user' | 'assistant';
44
content: string;
55
createdAt?: string;
66
}

0 commit comments

Comments
 (0)