Skip to content

Commit e29b101

Browse files
committed
fix(site): remove unused exports
1 parent 59e1d4b commit e29b101

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)