Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit afb39bb

Browse files
committed
fix(site): remove unused exports
1 parent 51aff7a commit afb39bb

File tree

5 files changed

+2
-23
lines changed

5 files changed

+2
-23
lines changed

site/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
"dependencies": {
3838
"@ai-sdk/provider-utils": "2.2.6",
3939
"@ai-sdk/react": "1.2.6",
40-
"@ai-sdk/ui-utils": "1.2.7",
4140
"@emoji-mart/data": "1.2.1",
4241
"@emoji-mart/react": "1.1.1",
4342
"@emotion/cache": "11.14.0",

site/pnpm-lock.yaml

-16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

site/src/pages/ChatPage/ChatLanding.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface ChatLandingLocationState {
1919
message: string;
2020
}
2121

22-
export const ChatLanding: FC = () => {
22+
const ChatLanding: FC = () => {
2323
const { user } = useAuthenticated();
2424
const theme = useTheme();
2525
const [input, setInput] = useState("");

site/src/pages/ChatPage/ChatLayout.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const ChatContext = createContext<ChatContext | undefined>(undefined);
4242

4343
const SELECTED_MODEL_KEY = "coder_chat_selected_model";
4444

45-
export const ChatProvider: FC<PropsWithChildren> = ({ children }) => {
45+
const ChatProvider: FC<PropsWithChildren> = ({ children }) => {
4646
const [selectedModel, setSelectedModel] = useState<string>(() => {
4747
const savedModel = localStorage.getItem(SELECTED_MODEL_KEY);
4848
return savedModel || "";
@@ -244,5 +244,3 @@ export const ChatLayout: FC = () => {
244244
</div>
245245
);
246246
};
247-
248-
export default ChatLayout;

site/src/pages/ChatPage/ChatMessages.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -569,5 +569,3 @@ export const ChatMessages: FC = () => {
569569
/>
570570
);
571571
};
572-
573-
export default ChatMessages;

0 commit comments

Comments
 (0)