File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ import LoadoutCustomization from '../../components/LoadoutCustomization';
21
21
import greyBackground from '../../assets/grey.png' ;
22
22
import ExoticSelector from '../../features/armor-optimization/ExoticSelector' ;
23
23
import { DAMAGE_TYPE } from '../../lib/bungie_api/constants' ;
24
+ import {
25
+ updateSelectedExoticClassCombo ,
26
+ updateSelectedExoticItemHash ,
27
+ } from '../../store/DashboardReducer' ;
24
28
25
29
const PageContainer = styled ( 'div' ) ( {
26
30
display : 'flex' ,
@@ -195,6 +199,8 @@ export const Dashboard: React.FC = () => {
195
199
196
200
const handleCharacterClick = ( character : Character ) => {
197
201
dispatch ( updateSelectedCharacter ( character ) ) ;
202
+ dispatch ( updateSelectedExoticItemHash ( { itemHash : null , slot : null } ) ) ;
203
+ dispatch ( updateSelectedExoticClassCombo ( null ) ) ;
198
204
} ;
199
205
200
206
const handleSubclassSelect = ( subclass : SubclassConfig ) => {
You can’t perform that action at this time.
0 commit comments