Skip to content

Commit 5f7258d

Browse files
Merge pull request #442 from microsoft/PSL-BUG-18399-1
fix: Hide citation panel logic on click of hide chat
2 parents 578b4fa + b353f16 commit 5f7258d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/App/src/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ const Dashboard: React.FC = () => {
156156
}, [state.config.appConfig]);
157157

158158
const onHandlePanelStates = (panelName: string) => {
159+
dispatch({ type: actionConstants.UPDATE_CITATION,payload: { activeCitation: null, showCitation: false }})
159160
setLayoutWidthUpdated((prevFlag) => !prevFlag);
160161
const newState = {
161162
...panelShowStates,

0 commit comments

Comments
 (0)