Skip to content

Commit ddf6a0c

Browse files
chore: remove 3 unused barrel exports (setShowChatHistory, parseTextContent, resolveImageUrl)
1 parent f336f3b commit ddf6a0c

3 files changed

Lines changed: 2 additions & 6 deletions

File tree

content-gen/src/app/frontend/src/store/appSlice.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,6 @@ const appSlice = createSlice({
125125
toggleChatHistory(state) {
126126
state.showChatHistory = !state.showChatHistory;
127127
},
128-
setShowChatHistory(state, action: PayloadAction<boolean>) {
129-
state.showChatHistory = action.payload;
130-
},
131128
},
132129
extraReducers: (builder) => {
133130
builder
@@ -148,6 +145,6 @@ const appSlice = createSlice({
148145
},
149146
});
150147

151-
export const { setIsLoading, setGenerationStatus, toggleChatHistory, setShowChatHistory } =
148+
export const { setIsLoading, setGenerationStatus, toggleChatHistory } =
152149
appSlice.actions;
153150
export default appSlice.reducer;

content-gen/src/app/frontend/src/store/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export {
1313
setIsLoading,
1414
setGenerationStatus,
1515
toggleChatHistory,
16-
setShowChatHistory,
1716
GenerationStatus,
1817
} from './appSlice';
1918

content-gen/src/app/frontend/src/utils/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
export { createMessage, createErrorMessage } from './messageUtils';
99

1010
// Content parsing (raw API → typed domain objects)
11-
export { parseTextContent, resolveImageUrl, buildGeneratedContent } from './contentParsing';
11+
export { buildGeneratedContent } from './contentParsing';
1212

1313
// SSE stream parser
1414
export { parseSSEStream } from './sseParser';

0 commit comments

Comments
 (0)