Skip to content

Commit cb80800

Browse files
committed
fix(site): remove unused exports
1 parent ad0391d commit cb80800

File tree

5 files changed

+2
-23
lines changed

5 files changed

+2
-23
lines changed

site/package.json

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

site/src/pages/ChatPage/ChatLanding.tsx

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 3 deletions
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

Lines changed: 0 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy