Skip to content

Commit 1f0c4df

Browse files
committed
fix(site): remove unused exports
1 parent 5ce3955 commit 1f0c4df

File tree

6 files changed

+5
-25
lines changed

6 files changed

+5
-25
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;

site/src/pages/ChatPage/ChatToolInvocation.stories.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
MockStoppingWorkspace,
66
MockTemplate,
77
MockTemplateVersion,
8-
MockUser,
8+
MockUserMember,
99
MockWorkspace,
1010
MockWorkspaceBuild,
1111
} from "testHelpers/entities";
@@ -122,7 +122,8 @@ export const TemplateVersionParameters: Story = {
122122
};
123123

124124
export const GetAuthenticatedUser: Story = {
125-
render: () => renderInvocations("coder_get_authenticated_user", {}, MockUser),
125+
render: () =>
126+
renderInvocations("coder_get_authenticated_user", {}, MockUserMember),
126127
};
127128

128129
export const CreateWorkspaceBuild: Story = {

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