Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1f0c4df

Browse files
committed
fix(site): remove unused exports
1 parent5ce3955 commit1f0c4df

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 aboutcustomizing 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-
exportconstChatLanding:FC=()=>{
22+
constChatLanding:FC=()=>{
2323
const{ user}=useAuthenticated();
2424
consttheme=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
constSELECTED_MODEL_KEY="coder_chat_selected_model";
4444

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

‎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-
exportdefaultChatMessages;

‎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
exportconstGetAuthenticatedUser:Story={
125-
render:()=>renderInvocations("coder_get_authenticated_user",{},MockUser),
125+
render:()=>
126+
renderInvocations("coder_get_authenticated_user",{},MockUserMember),
126127
};
127128

128129
exportconstCreateWorkspaceBuild:Story={

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp