File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1- import { createSlice } from '@reduxjs/toolkit' ;
2- import { AnyAction } from 'redux' ;
1+ import { createSlice , AnyAction } from '@reduxjs/toolkit' ;
32import { createSelector } from 'reselect' ;
43import { Comment as CommentAT } from '~/redux/actionTypes' ;
54import createLegoAdapter from '~/redux/legoAdapter/createLegoAdapter' ;
Original file line number Diff line number Diff line change @@ -39,11 +39,11 @@ const websocketsSlice = createSlice({
3939 } ) ;
4040 addCase ( WebsocketsAT . CLOSED , ( state ) => {
4141 state . status = STATUS_INITIAL ;
42- state . groups = [ ]
42+ state . groups = [ ] ;
4343 } ) ;
4444 addCase ( WebsocketsAT . ERROR , ( state ) => {
4545 state . status = STATUS_ERROR ;
46- state . groups = [ ]
46+ state . groups = [ ] ;
4747 } ) ;
4848 addCase ( WebsocketsAT . GROUP_JOIN . BEGIN , ( state , action ) => {
4949 if ( ! setGroupStatus ( state , action , STATUS_PENDING ) )
You can’t perform that action at this time.
0 commit comments